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.0009786/0.0009786, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.0009967/0.0009967, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.9852/0.9852, allocations: 177 MB / 204.8 MB, free: 5.211 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.783e-06/1.783e-06, allocations: 0 / 272.9 MB, free: 1.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.871e-05, allocations: 13.2 kB / 272.9 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.006652/0.006681, allocations: 1.983 MB / 274.9 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00521/0.01189, allocations: 1.207 MB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.01203, allocations: 7.938 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.01272, allocations: 151.4 kB / 276.3 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003515/0.01623, allocations: 171.2 kB / 276.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.01671, allocations: 179.3 kB / 276.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.01709, allocations: 203.4 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.01721, allocations: 25.73 kB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.01737, allocations: 103.7 kB / 276.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.0175, allocations: 67.8 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.01753, allocations: 8 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.01767, allocations: 71.83 kB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.01775, allocations: 43.83 kB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.259e-05/0.01782, allocations: 47.8 kB / 277.2 MB, free: 13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.01814, allocations: 171.3 kB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.01814, allocations: 3.938 kB / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01814, allocations: 0 / 277.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.01815, allocations: 0 / 277.3 MB, free: 12.82 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.001692/0.01984, allocations: 0.5478 MB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.01988, allocations: 11.98 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.01994, allocations: 28.8 kB / 277.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.02024, allocations: 244.3 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.02026, allocations: 4.375 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.02028, allocations: 8.375 kB / 278.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.02056, allocations: 160.2 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.02057, allocations: 192 / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.02058, allocations: 4.375 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.02059, allocations: 3.938 kB / 278.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.72e-05/0.02065, allocations: 27.92 kB / 278.4 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.02104, allocations: 366.7 kB / 278.7 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.02119, allocations: 144.5 kB / 278.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.02125, allocations: 54.73 kB / 278.9 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.02127, allocations: 7.938 kB / 278.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.02138, allocations: 72.98 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/0.02138, allocations: 4 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002634/0.02164, allocations: 141.3 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.02173, allocations: 132.5 kB / 279.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.02195, allocations: 296.3 kB / 279.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.02196, allocations: 25.7 kB / 279.6 MB, free: 10.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.02204, allocations: 179.1 kB / 279.8 MB, free: 10.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.02206, allocations: 15.84 kB / 279.8 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.02211, allocations: 35.73 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.02222, allocations: 0.5079 MB / 280.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/0.02224, allocations: 7.984 kB / 280.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-05/0.02229, allocations: 60.77 kB / 280.4 MB, free: 9.438 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.759e-05/0.02235, allocations: 47.61 kB / 280.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.02235, allocations: 0 / 280.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001131/0.02246, allocations: 89.42 kB / 280.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.02248, allocations: 4 kB / 280.5 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.02248, allocations: 4 kB / 280.5 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.02249, allocations: 0 / 280.5 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.02256, allocations: 12.06 kB / 280.5 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.02256, allocations: 0 / 280.5 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.02261, allocations: 7.984 kB / 280.5 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.02262, allocations: 4 kB / 280.5 MB, free: 9.258 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 8.327e-05/0.0227, allocations: 164.5 kB / 280.7 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.862e-05/0.02278, allocations: 81.42 kB / 280.8 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.02293, allocations: 103.6 kB / 280.9 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.02293, allocations: 4 kB / 280.9 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.02294, allocations: 0 / 280.9 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.02294, allocations: 4.094 kB / 280.9 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.02308, allocations: 172.6 kB / 281.1 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.02308, allocations: 0 / 281.1 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.63e-05/0.02311, allocations: 15.94 kB / 281.1 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.02311, allocations: 3.938 kB / 281.1 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.02312, allocations: 7.984 kB / 281.1 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.02312, allocations: 0 / 281.1 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.02313, allocations: 4 kB / 281.1 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.0233, allocations: 179.2 kB / 281.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.02335, allocations: 39.72 kB / 281.3 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.02338, allocations: 11.98 kB / 281.3 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.02342, allocations: 4.062 kB / 281.3 MB, free: 8.383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/0.02346, allocations: 15.98 kB / 281.3 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.02347, allocations: 4 kB / 281.3 MB, free: 8.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001347/0.02361, allocations: 205.1 kB / 281.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02361, allocations: 0 / 281.5 MB, free: 8.164 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.02384, allocations: 31.94 kB / 281.6 MB, free: 8.133 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.0009477/0.02479, allocations: 394.4 kB / 282 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.02492, allocations: 55.55 kB / 282 MB, free: 7.801 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02492, allocations: 0 / 282 MB, free: 7.801 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.814e-05/0.02497, allocations: 35.61 kB / 282 MB, free: 7.762 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.0253, allocations: 72.72 kB / 282.1 MB, free: 7.695 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.02572, allocations: 328.8 kB / 282.4 MB, free: 7.336 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.865e-05/0.02577, allocations: 87.97 kB / 282.5 MB, free: 7.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.02583, allocations: 17.62 kB / 282.5 MB, free: 7.211 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.02587, allocations: 20.5 kB / 282.6 MB, free: 7.188 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02587, allocations: 288 / 282.6 MB, free: 7.188 MB / 266.7 MB Notification: Performance of Templates: time 0.005725/0.0316, allocations: 2.844 MB / 285.4 MB, free: 4.387 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 -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: 3.096297692041844]