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.001004/0.001004, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009346/0.0009346, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 0.9543/0.9543, allocations: 177 MB / 205.2 MB, free: 5.039 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.413e-06/1.413e-06, allocations: 0 / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.486e-05, allocations: 2.312 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002161/0.002176, allocations: 1.966 MB / 275.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.003568, allocations: 1.285 MB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.003668, allocations: 11.94 kB / 276.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.003914, allocations: 67.55 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.004165, allocations: 143.3 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.004526, allocations: 227.1 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.004713, allocations: 203.4 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.616e-05/0.00479, allocations: 22.39 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.004903, allocations: 115.6 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.481e-05/0.004987, allocations: 67.8 kB / 277.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.005005, allocations: 8 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.005114, allocations: 71.94 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.005174, allocations: 55.77 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.005217, allocations: 43.84 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.005424, allocations: 195.2 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.005426, allocations: 0 / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005426, allocations: 4 kB / 277.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.00543, allocations: 0 / 277.8 MB, free: 12.58 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.0004124/0.005842, allocations: 461 kB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.005872, allocations: 15.98 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.005906, allocations: 20.92 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.006103, allocations: 229.7 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.006116, allocations: 384 / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.006129, allocations: 12.38 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.006553, allocations: 154.8 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.006559, allocations: 192 / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.006568, allocations: 4.359 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.006573, allocations: 7.938 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.839e-05/0.006611, allocations: 22.75 kB / 278.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.006844, allocations: 216.4 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.006964, allocations: 160 kB / 279.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.006996, allocations: 35.44 kB / 279.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.007012, allocations: 11.98 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.923e-05/0.007092, allocations: 78.08 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.007093, allocations: 0 / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001417/0.007234, allocations: 97.61 kB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.007285, allocations: 136.5 kB / 279.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.007439, allocations: 268.7 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.007452, allocations: 25.7 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.007492, allocations: 116.8 kB / 279.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.007511, allocations: 15.91 kB / 279.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.007548, allocations: 33.62 kB / 279.9 MB, free: 10.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.402e-05/0.007622, allocations: 330.8 kB / 280.2 MB, free: 9.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.007638, allocations: 14.81 kB / 280.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/0.007669, allocations: 56.5 kB / 280.3 MB, free: 9.836 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.113e-05/0.00771, allocations: 43.33 kB / 280.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.007711, allocations: 0 / 280.3 MB, free: 9.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.215e-05/0.007774, allocations: 68.44 kB / 280.4 MB, free: 9.711 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.007784, allocations: 11.94 kB / 280.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.007788, allocations: 0 / 280.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.007797, allocations: 0 / 280.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.086e-05/0.007848, allocations: 11.98 kB / 280.4 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.007851, allocations: 4 kB / 280.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.007881, allocations: 4.062 kB / 280.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.007888, allocations: 4 kB / 280.4 MB, free: 9.676 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 6.418e-05/0.007952, allocations: 118.6 kB / 280.6 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.008, allocations: 69.48 kB / 280.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.633e-05/0.008086, allocations: 79.61 kB / 280.7 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.00809, allocations: 7.984 kB / 280.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.008092, allocations: 4 kB / 280.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.008097, allocations: 4 kB / 280.7 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.841e-05/0.008185, allocations: 121.8 kB / 280.8 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008186, allocations: 4 kB / 280.8 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.568e-05/0.008222, allocations: 15.98 kB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.008223, allocations: 0 / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.00823, allocations: 7.938 kB / 280.9 MB, free: 9.211 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.008232, allocations: 3.938 kB / 280.9 MB, free: 9.207 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.008234, allocations: 4 kB / 280.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.033e-05/0.008314, allocations: 113.3 kB / 281 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.008357, allocations: 35.84 kB / 281 MB, free: 9.027 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.008375, allocations: 4 kB / 281 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.142e-05/0.008406, allocations: 15.94 kB / 281 MB, free: 9.008 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.008439, allocations: 7.984 kB / 281.1 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.00845, allocations: 3.984 kB / 281.1 MB, free: 8.996 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.216e-05/0.008532, allocations: 111.5 kB / 281.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008532, allocations: 7.875 kB / 281.2 MB, free: 8.875 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001323/0.008664, allocations: 31.94 kB / 281.2 MB, free: 8.844 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.00103/0.009694, allocations: 0.5031 MB / 281.7 MB, free: 8.523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.511e-05/0.009789, allocations: 48.78 kB / 281.8 MB, free: 8.473 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.009793, allocations: 4 kB / 281.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.209e-05/0.009825, allocations: 20.84 kB / 281.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.01002, allocations: 77.02 kB / 281.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.01036, allocations: 352.4 kB / 282.2 MB, free: 7.996 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.01041, allocations: 87.97 kB / 282.3 MB, free: 7.891 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.697e-05/0.01047, allocations: 34.11 kB / 282.3 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.948e-05/0.01056, allocations: 91.3 kB / 282.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01056, allocations: 0 / 282.4 MB, free: 7.77 MB / 266.7 MB Notification: Performance of Templates: time 0.004618/0.01517, allocations: 3.425 MB / 285.8 MB, free: 4.402 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 -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.5782737866975367]