Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.002082/0.002082, allocations: 85.33 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00165/0.00165, allocations: 168 kB / 23.96 MB, free: 4.148 MB / 14.72 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 1.472/1.472, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 325.1 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.09e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003705/0.003736, allocations: 1.913 MB / 327 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.006665, allocations: 1.247 MB / 328.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.006888, allocations: 6.719 kB / 328.2 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.007313, allocations: 72.08 kB / 328.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005377/0.00785, allocations: 139.7 kB / 328.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.008745, allocations: 230.1 kB / 328.7 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.009093, allocations: 199.5 kB / 328.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.009234, allocations: 26.17 kB / 328.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.009448, allocations: 110 kB / 329 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.009609, allocations: 73.83 kB / 329.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.009643, allocations: 13.5 kB / 329.1 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002161/0.009859, allocations: 70.3 kB / 329.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.009985, allocations: 59.91 kB / 329.2 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/0.01007, allocations: 40.48 kB / 329.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005048/0.01058, allocations: 254.6 kB / 329.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01058, allocations: 0 / 329.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01058, allocations: 1.094 kB / 329.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.01059, allocations: 4.688 kB / 329.5 MB, free: 13.89 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000989/0.01158, allocations: 486.9 kB / 330 MB, free: 13.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.01163, allocations: 9.891 kB / 330 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.01171, allocations: 32.48 kB / 330 MB, free: 13.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.01219, allocations: 240.3 kB / 330.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.01221, allocations: 4.141 kB / 330.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.01223, allocations: 10.22 kB / 330.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.01267, allocations: 195.4 kB / 330.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.01269, allocations: 7.938 kB / 330.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.01271, allocations: 5.797 kB / 330.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.01271, allocations: 2.344 kB / 330.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.01286, allocations: 44.81 kB / 330.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.01348, allocations: 332.8 kB / 330.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000332/0.01381, allocations: 138.6 kB / 331 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.01395, allocations: 63.42 kB / 331 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.01398, allocations: 10 kB / 331 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.01417, allocations: 79.66 kB / 331.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 2.284e-06/0.01417, allocations: 3.938 kB / 331.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005284/0.0147, allocations: 175.2 kB / 331.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.01484, allocations: 161.8 kB / 331.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004695/0.01531, allocations: 349.2 kB / 331.8 MB, free: 12.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.01535, allocations: 27.27 kB / 331.8 MB, free: 12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.01549, allocations: 151.7 kB / 332 MB, free: 11.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.01551, allocations: 10.09 kB / 332 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.01558, allocations: 35.22 kB / 332 MB, free: 11.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.01576, allocations: 329.9 kB / 332.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.01583, allocations: 22.89 kB / 332.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.01598, allocations: 114.1 kB / 332.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.01614, allocations: 59.55 kB / 332.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01614, allocations: 0 / 332.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002558/0.0164, allocations: 111.8 kB / 332.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.01642, allocations: 5.562 kB / 332.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.01642, allocations: 0 / 332.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.01644, allocations: 1.062 kB / 332.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.01655, allocations: 15.11 kB / 332.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01656, allocations: 1 kB / 332.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.267e-05/0.01665, allocations: 10.17 kB / 332.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.01666, allocations: 3.438 kB / 332.7 MB, free: 11.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0002017/0.01687, allocations: 156.5 kB / 332.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.017, allocations: 84.55 kB / 332.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.01738, allocations: 128.9 kB / 333 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.01738, allocations: 2.656 kB / 333 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.01739, allocations: 1.094 kB / 333 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.0174, allocations: 1.188 kB / 333 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.01764, allocations: 187 kB / 333.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01764, allocations: 1.344 kB / 333.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.031e-05/0.01773, allocations: 20.88 kB / 333.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.01774, allocations: 1.469 kB / 333.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.01775, allocations: 10.14 kB / 333.2 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.01776, allocations: 6.281 kB / 333.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01776, allocations: 1.094 kB / 333.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003618/0.01812, allocations: 191.3 kB / 333.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.01822, allocations: 41.2 kB / 333.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.01826, allocations: 3.5 kB / 333.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.672e-05/0.01834, allocations: 2.312 kB / 333.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.01842, allocations: 12.45 kB / 333.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.01844, allocations: 4.719 kB / 333.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003086/0.01875, allocations: 256 kB / 333.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01875, allocations: 4 kB / 333.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000316/0.01906, allocations: 42.52 kB / 333.8 MB, free: 10.4 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 0.001779/0.02084, allocations: 459.7 kB / 334.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002846/0.02113, allocations: 70.39 kB / 334.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.02113, allocations: 0 / 334.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.725e-05/0.02123, allocations: 34.58 kB / 334.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.02175, allocations: 91.69 kB / 334.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008383/0.02259, allocations: 403 kB / 334.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.02277, allocations: 139.8 kB / 335 MB, free: 9.699 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001328/0.0229, allocations: 26.14 kB / 335 MB, free: 9.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.02297, allocations: 25.14 kB / 335 MB, free: 9.68 MB / 302.1 MB Notification: Performance of SimCode: time 1.042e-06/0.02297, allocations: 0 / 335 MB, free: 9.68 MB / 302.1 MB Notification: Performance of Templates: time 0.008702/0.03167, allocations: 3.236 MB / 338.3 MB, free: 7.773 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.539477854967117]