Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001169/0.001169, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001107/0.001107, allocations: 161 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.018/1.018, allocations: 177 MB / 205.2 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.251e-05, allocations: 2.312 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002613/0.002636, allocations: 2.002 MB / 275.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.004224, allocations: 1.296 MB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.004337, allocations: 7.938 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.004592, allocations: 63.61 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.004873, allocations: 139.2 kB / 276.9 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004893/0.005362, allocations: 227.2 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.005564, allocations: 195.3 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.00565, allocations: 30.38 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.005785, allocations: 111.7 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.005886, allocations: 67.8 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.005904, allocations: 12 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.006051, allocations: 67.94 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.881e-05/0.006119, allocations: 63.77 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.006167, allocations: 39.86 kB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.006429, allocations: 199.2 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006431, allocations: 0 / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.7e-07/0.006431, allocations: 0 / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.006436, allocations: 0 / 277.9 MB, free: 12.68 MB / 266.7 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.0004118/0.006848, allocations: 457 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.00688, allocations: 15.97 kB / 278.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.006919, allocations: 20.92 kB / 278.4 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.007154, allocations: 233.8 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.00717, allocations: 4.375 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.007183, allocations: 12.38 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.007386, allocations: 154.7 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.007393, allocations: 192 / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.0074, allocations: 384 / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.007407, allocations: 11.92 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.141e-05/0.007449, allocations: 26.75 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002651/0.007714, allocations: 220.4 kB / 279 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.007843, allocations: 156 kB / 279.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.007876, allocations: 35.42 kB / 279.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.007892, allocations: 4 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.457e-05/0.007986, allocations: 86.08 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.007987, allocations: 0 / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001643/0.008152, allocations: 89.59 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.008208, allocations: 144.4 kB / 279.5 MB, free: 10.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.008369, allocations: 264.7 kB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.008386, allocations: 29.7 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.008433, allocations: 120.7 kB / 279.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.008455, allocations: 16.27 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.511e-05/0.00849, allocations: 33.69 kB / 280 MB, free: 10.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.556e-05/0.008575, allocations: 330.8 kB / 280.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.008592, allocations: 10.83 kB / 280.3 MB, free: 10 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.00863, allocations: 56.27 kB / 280.4 MB, free: 9.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.432e-05/0.008674, allocations: 35.3 kB / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008676, allocations: 0 / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.49e-05/0.008751, allocations: 76.42 kB / 280.5 MB, free: 9.805 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.008764, allocations: 7.938 kB / 280.5 MB, free: 9.797 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.008771, allocations: 8.062 kB / 280.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.00878, allocations: 0 / 280.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.951e-05/0.00884, allocations: 8 kB / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.008844, allocations: 4 kB / 280.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.345e-05/0.008877, allocations: 3.984 kB / 280.5 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.008883, allocations: 4 kB / 280.5 MB, free: 9.77 MB / 266.7 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 7.114e-05/0.008954, allocations: 120.7 kB / 280.6 MB, free: 9.641 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.009003, allocations: 61.55 kB / 280.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.009113, allocations: 91.95 kB / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.009115, allocations: 4 kB / 280.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.009117, allocations: 0 / 280.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.009122, allocations: 8 kB / 280.8 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.009226, allocations: 117.7 kB / 280.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.009228, allocations: 4 kB / 280.9 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.009271, allocations: 15.98 kB / 280.9 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.009274, allocations: 4 kB / 280.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.009281, allocations: 0 / 280.9 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.009283, allocations: 3.938 kB / 281 MB, free: 9.305 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.009285, allocations: 7.938 kB / 281 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.008e-05/0.009376, allocations: 117.3 kB / 281.1 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.009419, allocations: 31.84 kB / 281.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.009437, allocations: 7.938 kB / 281.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.315e-05/0.00947, allocations: 7.938 kB / 281.1 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.009508, allocations: 11.98 kB / 281.1 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.00952, allocations: 7.984 kB / 281.1 MB, free: 9.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.014e-05/0.0096, allocations: 107.5 kB / 281.2 MB, free: 8.977 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009601, allocations: 0 / 281.2 MB, free: 8.977 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.009763, allocations: 31.94 kB / 281.3 MB, free: 8.945 MB / 266.7 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.001227/0.01099, allocations: 0.519 MB / 281.8 MB, free: 8.613 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.01113, allocations: 36.78 kB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/0.01114, allocations: 4 kB / 281.8 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/0.01119, allocations: 24.84 kB / 281.9 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.01149, allocations: 70.27 kB / 281.9 MB, free: 8.473 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/0.01209, allocations: 360.7 kB / 282.3 MB, free: 8.086 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.869e-05/0.01216, allocations: 79.97 kB / 282.4 MB, free: 7.988 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.783e-05/0.01223, allocations: 29.89 kB / 282.4 MB, free: 7.961 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.01235, allocations: 91.34 kB / 282.5 MB, free: 7.871 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01235, allocations: 0 / 282.5 MB, free: 7.871 MB / 266.7 MB Notification: Performance of Templates: time 0.005613/0.01797, allocations: 3.441 MB / 285.9 MB, free: 4.496 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.8243337757885456]