Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0009177/0.0009177, 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.001432/0.001432, allocations: 166.7 kB / 24.91 MB, free: 8.766 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.9786/0.9786, allocations: 177 MB / 205.2 MB, free: 5.406 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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 3.938 kB / 273.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.816e-05, allocations: 2.312 kB / 273.4 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002455/0.002474, allocations: 2.006 MB / 275.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.003825, allocations: 1.226 MB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.00393, allocations: 7.938 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005135/0.004443, allocations: 147.5 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.00467, allocations: 167.2 kB / 277 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.004927, allocations: 175.3 kB / 277.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.005107, allocations: 203.3 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.566e-05/0.005193, allocations: 26.45 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.005305, allocations: 103.7 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.005399, allocations: 67.8 kB / 277.5 MB, free: 13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.005419, allocations: 11.94 kB / 277.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.005525, allocations: 67.89 kB / 277.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.005576, allocations: 51.83 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.00588, allocations: 39.78 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.006078, allocations: 175.3 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.006079, allocations: 0 / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.00608, allocations: 0 / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.006084, allocations: 0 / 277.9 MB, free: 12.66 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.0004297/0.006514, allocations: 429.3 kB / 278.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.006545, allocations: 11.98 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.00658, allocations: 16.92 kB / 278.3 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.006789, allocations: 233.4 kB / 278.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.006805, allocations: 8.375 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.006814, allocations: 4.375 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.006993, allocations: 138.1 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.007003, allocations: 4.125 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.007012, allocations: 12.38 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.007018, allocations: 3.938 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.106e-05/0.007049, allocations: 18.81 kB / 278.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.007283, allocations: 216.4 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.007389, allocations: 149.2 kB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.21e-05/0.007421, allocations: 35.42 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.007435, allocations: 8 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.976e-05/0.007514, allocations: 74.09 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.007516, allocations: 0 / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001313/0.007647, allocations: 97.52 kB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.007701, allocations: 140.5 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.007842, allocations: 238.6 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.007856, allocations: 29.7 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.007893, allocations: 105.2 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.007913, allocations: 27.81 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.007945, allocations: 21.72 kB / 279.8 MB, free: 10.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.586e-05/0.008021, allocations: 334.8 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.256e-05/0.008034, allocations: 6.828 kB / 280.2 MB, free: 10.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.008065, allocations: 60.27 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.7e-05/0.008102, allocations: 35.34 kB / 280.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.008104, allocations: 0 / 280.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.372e-05/0.008168, allocations: 64.44 kB / 280.3 MB, free: 9.906 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.008179, allocations: 10.75 kB / 280.3 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.008184, allocations: 8.062 kB / 280.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.008195, allocations: 0 / 280.4 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.473e-05/0.00825, allocations: 12 kB / 280.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.008253, allocations: 0 / 280.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.008281, allocations: 11.94 kB / 280.4 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.008288, allocations: 4 kB / 280.4 MB, free: 9.863 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,sample1.u) * 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 5.889e-05/0.008347, allocations: 120.6 kB / 280.5 MB, free: 9.734 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.00839, allocations: 61.55 kB / 280.6 MB, free: 9.668 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.802e-05/0.008478, allocations: 80 kB / 280.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.00848, allocations: 4 kB / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.008482, allocations: 0 / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.008487, allocations: 8 kB / 280.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.294e-05/0.00857, allocations: 109.8 kB / 280.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008571, allocations: 0 / 280.8 MB, free: 9.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.008591, allocations: 15.94 kB / 280.8 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.008592, allocations: 0 / 280.8 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.0086, allocations: 7.984 kB / 280.8 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.008602, allocations: 3.938 kB / 280.8 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.008603, allocations: 0 / 280.8 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.334e-05/0.008676, allocations: 113.3 kB / 280.9 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.008715, allocations: 31.84 kB / 280.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.008732, allocations: 8 kB / 280.9 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.028e-05/0.008762, allocations: 7.938 kB / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.008786, allocations: 7.922 kB / 280.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.008796, allocations: 4 kB / 281 MB, free: 9.219 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.309e-05/0.008859, allocations: 93.59 kB / 281 MB, free: 9.125 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008859, allocations: 0 / 281 MB, free: 9.125 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001186/0.008978, allocations: 27.94 kB / 281.1 MB, free: 9.098 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,sample1.u,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.0009771/0.009955, allocations: 0.5025 MB / 281.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.314e-05/0.01004, allocations: 36.78 kB / 281.6 MB, free: 8.738 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.01004, allocations: 4 kB / 281.6 MB, free: 8.734 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.694e-05/0.01007, allocations: 20.8 kB / 281.6 MB, free: 8.711 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001975/0.01027, allocations: 76.42 kB / 281.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.01061, allocations: 332.6 kB / 282 MB, free: 8.285 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.884e-05/0.01065, allocations: 79.97 kB / 282.1 MB, free: 8.188 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.442e-05/0.0107, allocations: 25.75 kB / 282.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.758e-05/0.01078, allocations: 87.3 kB / 282.2 MB, free: 8.07 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01078, allocations: 0 / 282.2 MB, free: 8.07 MB / 266.7 MB Notification: Performance of Templates: time 0.004596/0.01537, allocations: 3.085 MB / 285.3 MB, free: 5.043 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.669944914057851]