Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.001147, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 98.88 kB / 291.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008638/0.0008639, allocations: 39.94 kB / 350 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2824, allocations: 49.44 MB / 399.5 MB, free: 33.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample): time 0.002879/0.2853, allocations: 1.628 MB / 401.1 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006599/0.286, allocations: 490.8 kB / 401.6 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.2861, allocations: 4 kB / 401.6 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.267e-05/0.2862, allocations: 3.938 kB / 401.6 MB, free: 31.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.2863, allocations: 11.92 kB / 401.6 MB, free: 31.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.2866, allocations: 43.89 kB / 401.6 MB, free: 31.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.034e-05/0.2867, allocations: 47.8 kB / 401.7 MB, free: 31.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2868, allocations: 12.17 kB / 401.7 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.247e-05/0.2869, allocations: 19.94 kB / 401.7 MB, free: 31.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.612e-05/0.2869, allocations: 23.84 kB / 401.7 MB, free: 31.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.287, allocations: 4 kB / 401.8 MB, free: 31.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.287, allocations: 0 / 401.8 MB, free: 31.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.287, allocations: 19.92 kB / 401.8 MB, free: 31.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.2871, allocations: 31.75 kB / 401.8 MB, free: 30.99 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.294e-05/0.2872, allocations: 51.8 kB / 401.9 MB, free: 30.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2872, allocations: 0 / 401.9 MB, free: 30.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2872, allocations: 0 / 401.9 MB, free: 30.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.2872, allocations: 3.938 kB / 401.9 MB, free: 30.94 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004085/0.2876, allocations: 376.6 kB / 402.2 MB, free: 30.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.2877, allocations: 12.02 kB / 402.2 MB, free: 30.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.2877, allocations: 8.844 kB / 402.2 MB, free: 30.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.2879, allocations: 192.2 kB / 402.4 MB, free: 30.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.2879, allocations: 4.375 kB / 402.4 MB, free: 30.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.2879, allocations: 8.359 kB / 402.4 MB, free: 30.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.2882, allocations: 121.9 kB / 402.6 MB, free: 30.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2882, allocations: 3.984 kB / 402.6 MB, free: 30.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.2882, allocations: 0 / 402.6 MB, free: 30.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2882, allocations: 4 kB / 402.6 MB, free: 30.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.2883, allocations: 23.92 kB / 402.6 MB, free: 30.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002759/0.2886, allocations: 270.6 kB / 402.9 MB, free: 29.77 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.171e-05/0.2887, allocations: 71.84 kB / 402.9 MB, free: 29.68 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.2888, allocations: 30.58 kB / 403 MB, free: 29.64 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.2888, allocations: 7.922 kB / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.2888, allocations: 42.5 kB / 403 MB, free: 29.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2888, allocations: 0 / 403 MB, free: 29.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002391/0.2891, allocations: 77.52 kB / 403.1 MB, free: 29.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.2891, allocations: 114.8 kB / 403.2 MB, free: 29.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.585e-05/0.2892, allocations: 144.7 kB / 403.3 MB, free: 29.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.2892, allocations: 26.08 kB / 403.4 MB, free: 29.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/0.2893, allocations: 88.14 kB / 403.4 MB, free: 29.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.2893, allocations: 8 kB / 403.5 MB, free: 29.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.2893, allocations: 21.61 kB / 403.5 MB, free: 29.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.2894, allocations: 318.8 kB / 403.8 MB, free: 28.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.791e-05/0.2894, allocations: 7.984 kB / 403.8 MB, free: 28.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.873e-05/0.2895, allocations: 35.42 kB / 403.8 MB, free: 28.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.536e-05/0.2896, allocations: 55.36 kB / 403.9 MB, free: 28.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2896, allocations: 0 / 403.9 MB, free: 28.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000114/0.2897, allocations: 77.67 kB / 404 MB, free: 28.53 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2897, allocations: 4 kB / 404 MB, free: 28.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2897, allocations: 0 / 404 MB, free: 28.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2898, allocations: 4 kB / 404 MB, free: 28.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.2899, allocations: 15.92 kB / 404 MB, free: 28.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2899, allocations: 0 / 404 MB, free: 28.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.921e-05/0.2899, allocations: 4 kB / 404 MB, free: 28.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.2899, allocations: 0 / 404 MB, free: 28.5 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.267e-05/0.29, allocations: 133.6 kB / 404.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.2901, allocations: 57.61 kB / 404.2 MB, free: 28.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.2901, allocations: 15.86 kB / 404.2 MB, free: 28.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2901, allocations: 0 / 404.2 MB, free: 28.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2901, allocations: 0 / 404.2 MB, free: 28.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2901, allocations: 4 kB / 404.2 MB, free: 28.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.2902, allocations: 173.5 kB / 404.4 MB, free: 28.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2903, allocations: 0 / 404.4 MB, free: 28.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.2903, allocations: 11.98 kB / 404.4 MB, free: 28.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.2903, allocations: 4 kB / 404.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.2903, allocations: 64 / 404.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2903, allocations: 4 kB / 404.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2903, allocations: 0 / 404.4 MB, free: 28.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.2907, allocations: 0.7412 MB / 405.1 MB, free: 27.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.2908, allocations: 100.9 kB / 405.2 MB, free: 27.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.2908, allocations: 0 / 405.2 MB, free: 27.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.78e-05/0.2908, allocations: 4 kB / 405.2 MB, free: 27.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.2909, allocations: 3.938 kB / 405.2 MB, free: 27.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.2909, allocations: 4 kB / 405.2 MB, free: 27.11 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.769e-05/0.2909, allocations: 111.2 kB / 405.3 MB, free: 27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.291, allocations: 0 / 405.3 MB, free: 27 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003067/0.2913, allocations: 8 kB / 405.4 MB, free: 26.99 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.48e-05/0.2914, allocations: 104 kB / 405.5 MB, free: 26.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.2915, allocations: 31.91 kB / 405.5 MB, free: 26.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2915, allocations: 0 / 405.5 MB, free: 26.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.141e-05/0.2915, allocations: 8 kB / 405.5 MB, free: 26.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.2919, allocations: 31.95 kB / 405.5 MB, free: 26.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.2923, allocations: 317.7 kB / 405.8 MB, free: 26.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.2925, allocations: 0.6887 MB / 406.5 MB, free: 25.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.486e-05/0.2926, allocations: 8 kB / 406.5 MB, free: 25.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.2926, allocations: 15.42 kB / 406.5 MB, free: 25.71 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2926, allocations: 0 / 406.5 MB, free: 25.71 MB / 298.7 MB Notification: Performance of Templates: time 0.002469/0.2951, allocations: 0.601 MB / 407.1 MB, free: 25.12 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/ShiftSample/ShiftSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches