Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0008286/0.0008286, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001152/0.001981, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006984/0.0006984, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001772, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.018/1.018, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0846/1.103, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 3.938 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.489e-05, allocations: 10.11 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002979/0.003004, allocations: 2.022 MB / 246.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.004819, allocations: 1.223 MB / 248 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.005029, allocations: 7.938 kB / 248 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006702/0.005699, allocations: 147.4 kB / 248.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.006067, allocations: 175.1 kB / 248.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004776/0.006545, allocations: 179.3 kB / 248.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.006812, allocations: 199.3 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.006921, allocations: 30.39 kB / 248.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.007138, allocations: 155.5 kB / 248.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.007273, allocations: 71.73 kB / 248.9 MB, free: 10 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.007297, allocations: 8 kB / 248.9 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.007446, allocations: 59.89 kB / 249 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.221e-05/0.007528, allocations: 39.86 kB / 249 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.007578, allocations: 31.88 kB / 249 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.007872, allocations: 159.4 kB / 249.2 MB, free: 9.711 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.586e-05/0.007888, allocations: 0 / 249.2 MB, free: 9.711 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.00789, allocations: 4 kB / 249.2 MB, free: 9.707 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.007904, allocations: 0 / 249.2 MB, free: 9.707 MB / 250.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.000738/0.008642, allocations: 468.8 kB / 249.7 MB, free: 9.219 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.008695, allocations: 8.031 kB / 249.7 MB, free: 9.211 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.314e-05/0.008768, allocations: 20.92 kB / 249.7 MB, free: 9.191 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.009078, allocations: 217.5 kB / 249.9 MB, free: 8.949 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.0091, allocations: 4.375 kB / 249.9 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.009121, allocations: 12.38 kB / 249.9 MB, free: 8.934 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.009391, allocations: 146 kB / 250.1 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.009404, allocations: 3.938 kB / 250.1 MB, free: 8.762 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.009413, allocations: 0 / 250.1 MB, free: 8.762 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.009422, allocations: 4 kB / 250.1 MB, free: 8.758 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.533e-05/0.009467, allocations: 22.75 kB / 250.1 MB, free: 8.734 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.009847, allocations: 220.4 kB / 250.3 MB, free: 8.492 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.009994, allocations: 149.2 kB / 250.4 MB, free: 8.309 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.017e-05/0.01003, allocations: 43.36 kB / 250.5 MB, free: 8.254 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.01006, allocations: 7.938 kB / 250.5 MB, free: 8.246 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.01019, allocations: 70.2 kB / 250.6 MB, free: 8.164 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.0102, allocations: 0 / 250.6 MB, free: 8.164 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001861/0.01038, allocations: 97.72 kB / 250.7 MB, free: 8.062 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.01046, allocations: 136.5 kB / 250.8 MB, free: 7.898 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.01063, allocations: 238.7 kB / 251 MB, free: 7.652 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.01065, allocations: 25.7 kB / 251.1 MB, free: 7.621 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.01071, allocations: 108.8 kB / 251.2 MB, free: 7.508 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.01073, allocations: 19.88 kB / 251.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.01077, allocations: 21.72 kB / 251.2 MB, free: 7.461 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01089, allocations: 334.8 kB / 251.5 MB, free: 7.125 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2e-05/0.01091, allocations: 6.828 kB / 251.5 MB, free: 7.117 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.816e-05/0.01096, allocations: 56.44 kB / 251.6 MB, free: 7.047 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.962e-05/0.01101, allocations: 43.33 kB / 251.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01101, allocations: 0 / 251.6 MB, free: 6.996 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.786e-05/0.0111, allocations: 68.44 kB / 251.7 MB, free: 6.922 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.01111, allocations: 4 kB / 251.7 MB, free: 6.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.01112, allocations: 0 / 251.7 MB, free: 6.918 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.01113, allocations: 4 kB / 251.7 MB, free: 6.914 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.724e-05/0.01121, allocations: 11.94 kB / 251.7 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.257e-06/0.01121, allocations: 0 / 251.7 MB, free: 6.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.308e-05/0.01126, allocations: 15.88 kB / 251.7 MB, free: 6.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.01127, allocations: 12.03 kB / 251.7 MB, free: 6.875 MB / 250.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 9.101e-05/0.01136, allocations: 127.3 kB / 251.9 MB, free: 6.742 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.01142, allocations: 65.55 kB / 251.9 MB, free: 6.672 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.01155, allocations: 75.39 kB / 252 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01156, allocations: 0 / 252 MB, free: 6.594 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.01157, allocations: 7.984 kB / 252 MB, free: 6.586 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.01157, allocations: 3.984 kB / 252 MB, free: 6.582 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.0117, allocations: 105.8 kB / 252.1 MB, free: 6.461 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.0117, allocations: 4.094 kB / 252.1 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.01174, allocations: 11.98 kB / 252.1 MB, free: 6.445 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.01179, allocations: 35.73 kB / 252.2 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.0118, allocations: 0 / 252.2 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.01181, allocations: 7.984 kB / 252.2 MB, free: 6.402 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.01181, allocations: 0 / 252.2 MB, free: 6.402 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.01182, allocations: 0 / 252.2 MB, free: 6.402 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.01198, allocations: 113.3 kB / 252.3 MB, free: 6.262 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.01202, allocations: 7.938 kB / 252.3 MB, free: 6.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.01209, allocations: 7.984 kB / 252.3 MB, free: 6.246 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.01214, allocations: 12 kB / 252.3 MB, free: 6.234 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.01216, allocations: 7.984 kB / 252.3 MB, free: 6.227 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.855e-05/0.01226, allocations: 81.61 kB / 252.4 MB, free: 6.141 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01226, allocations: 0 / 252.4 MB, free: 6.141 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.01242, allocations: 28 kB / 252.4 MB, free: 6.113 MB / 250.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.001346/0.01377, allocations: 0.5649 MB / 253 MB, free: 5.82 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001205/0.01389, allocations: 44.78 kB / 253 MB, free: 5.773 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.0139, allocations: 4 kB / 253 MB, free: 5.77 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.01394, allocations: 20.84 kB / 253.1 MB, free: 5.746 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.01431, allocations: 430.6 kB / 253.5 MB, free: 5.254 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006236/0.01493, allocations: 328.4 kB / 253.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.673e-05/0.01498, allocations: 79.92 kB / 253.9 MB, free: 4.797 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.812e-05/0.01504, allocations: 29.92 kB / 253.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.278e-05/0.01513, allocations: 83.36 kB / 254 MB, free: 4.688 MB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01513, allocations: 0 / 254 MB, free: 4.688 MB / 250.7 MB Notification: Performance of Templates: time 0.005503/0.02063, allocations: 3.167 MB / 257.2 MB, free: 1.582 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7798394737765193]