Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009736/0.0009736, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 170.4 kB / 25.61 MB, free: 8.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9195/0.9195, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.436e-05, allocations: 2.312 kB / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.002375/0.002389, allocations: 1.602 MB / 275.8 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000782/0.003171, allocations: 0.535 MB / 276.3 MB, free: 2.293 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.348e-05/0.003254, allocations: 8.625 kB / 276.3 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.041e-05/0.003305, allocations: 3.938 kB / 276.3 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.003439, allocations: 8.375 kB / 276.3 MB, free: 2.273 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.003681, allocations: 68.48 kB / 276.4 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.003785, allocations: 51.78 kB / 276.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.276e-05/0.003868, allocations: 8.812 kB / 276.5 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.003992, allocations: 44.48 kB / 276.5 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.771e-05/0.00404, allocations: 15.92 kB / 276.5 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.004055, allocations: 2.438 kB / 276.5 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.561e-05/0.00409, allocations: 8 kB / 276.5 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.004128, allocations: 15.92 kB / 276.5 MB, free: 2.066 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.004149, allocations: 15.92 kB / 276.6 MB, free: 2.051 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.004258, allocations: 43.83 kB / 276.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00426, allocations: 0 / 276.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004261, allocations: 2.031 kB / 276.6 MB, free: 2.008 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.004265, allocations: 0 / 276.6 MB, free: 2.008 MB / 250.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.0003502/0.004616, allocations: 412.2 kB / 277 MB, free: 1.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.004646, allocations: 8.031 kB / 277 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.004762, allocations: 20.88 kB / 277 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.004911, allocations: 160.9 kB / 277.2 MB, free: 1.359 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.00492, allocations: 384 / 277.2 MB, free: 1.359 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.004928, allocations: 4.375 kB / 277.2 MB, free: 1.355 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.005085, allocations: 121.4 kB / 277.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.005093, allocations: 0 / 277.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.005099, allocations: 0 / 277.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.005104, allocations: 0 / 277.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.601e-05/0.00512, allocations: 11.98 kB / 277.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001869/0.005307, allocations: 248.1 kB / 277.6 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.209e-05/0.005359, allocations: 50.19 kB / 277.6 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.005375, allocations: 19.36 kB / 277.6 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.005389, allocations: 7.875 kB / 277.6 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.005411, allocations: 41.45 kB / 277.7 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.005412, allocations: 0 / 277.7 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001152/0.005527, allocations: 45.59 kB / 277.7 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.005566, allocations: 85.34 kB / 277.8 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.005659, allocations: 199.9 kB / 278 MB, free: 412 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.005669, allocations: 25.7 kB / 278 MB, free: 380 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.005715, allocations: 134.9 kB / 278.2 MB, free: 240 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.005728, allocations: 7.953 kB / 278.2 MB, free: 232 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.005753, allocations: 15.38 kB / 278.2 MB, free: 208 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.005875, allocations: 0.4884 MB / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.005884, allocations: 0 / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-06/0.00589, allocations: 0 / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.334e-05/0.005913, allocations: 19.67 kB / 278.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.005916, allocations: 11.94 kB / 278.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.516e-05/0.005961, allocations: 37.66 kB / 278.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.005974, allocations: 4 kB / 278.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.005977, allocations: 0 / 278.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.005985, allocations: 0 / 278.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.212e-05/0.006027, allocations: 4 kB / 278.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.006031, allocations: 3.984 kB / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.006046, allocations: 0 / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.00605, allocations: 0 / 278.8 MB, free: 15.61 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.991e-05/0.00611, allocations: 164.5 kB / 278.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.006146, allocations: 41.59 kB / 279 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.156e-05/0.006168, allocations: 15.73 kB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.006169, allocations: 0 / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.006172, allocations: 4 kB / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.006174, allocations: 0 / 279 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.045e-05/0.006265, allocations: 105.2 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.006267, allocations: 4 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.006287, allocations: 4 kB / 279.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.006289, allocations: 3.938 kB / 279.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.006295, allocations: 0 / 279.1 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.006298, allocations: 12.02 kB / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.006299, allocations: 0 / 279.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.514e-05/0.006384, allocations: 199.5 kB / 279.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.006412, allocations: 27.84 kB / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.266e-06/0.00642, allocations: 0 / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.98e-05/0.00645, allocations: 0 / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.006475, allocations: 4 kB / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.006478, allocations: 0 / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.891e-05/0.006527, allocations: 146.3 kB / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006527, allocations: 0 / 279.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001446/0.006672, allocations: 12.03 kB / 279.5 MB, free: 14.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.952e-05/0.006741, allocations: 95.19 kB / 279.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.689e-05/0.006798, allocations: 11.69 kB / 279.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.006799, allocations: 0 / 279.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.006814, allocations: 19.61 kB / 279.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.007034, allocations: 20.23 kB / 279.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.007375, allocations: 165.7 kB / 279.8 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.778e-05/0.007413, allocations: 67.2 kB / 279.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.248e-05/0.007435, allocations: 3.906 kB / 279.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.007492, allocations: 82.19 kB / 279.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007492, allocations: 0 / 279.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of Templates: time 0.002141/0.009633, allocations: 0.7002 MB / 280.6 MB, free: 13.61 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/ShiftSample/ShiftSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.523062465246767]