Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001322/0.001322, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001592/0.001592, allocations: 207.2 kB / 24.47 MB, free: 3.977 MB / 14.72 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.586/1.586, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2487, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003731/0.2524, allocations: 1.9 MB / 434.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.2546, allocations: 1.247 MB / 435.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.2548, allocations: 8 kB / 435.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.2551, allocations: 67.61 kB / 435.5 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000383/0.2555, allocations: 139.4 kB / 435.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.2561, allocations: 230.6 kB / 435.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.2564, allocations: 195.4 kB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.2565, allocations: 29.45 kB / 436.1 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.2567, allocations: 83.69 kB / 436.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.2568, allocations: 95.53 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.2568, allocations: 8 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.257, allocations: 71.95 kB / 436.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.868e-05/0.2571, allocations: 59.77 kB / 436.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.697e-05/0.2572, allocations: 59.55 kB / 436.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.2575, allocations: 257.9 kB / 436.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2575, allocations: 0 / 436.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2575, allocations: 0 / 436.7 MB, free: 2.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.2575, allocations: 4 kB / 436.8 MB, free: 2.285 MB / 334.1 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.000756/0.2583, allocations: 490.4 kB / 437.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.2583, allocations: 11.97 kB / 437.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.2584, allocations: 24.8 kB / 437.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/0.2588, allocations: 242.5 kB / 437.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.2588, allocations: 12.31 kB / 437.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.2588, allocations: 8.125 kB / 437.5 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004006/0.2592, allocations: 207.6 kB / 437.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2593, allocations: 0 / 437.7 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.2593, allocations: 4 kB / 437.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2593, allocations: 0 / 437.7 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.2594, allocations: 47.91 kB / 437.8 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.2599, allocations: 326.9 kB / 438.1 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.2602, allocations: 150.5 kB / 438.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.2603, allocations: 55.41 kB / 438.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.2604, allocations: 11.98 kB / 438.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.2605, allocations: 83.31 kB / 438.4 MB, free: 468 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.2605, allocations: 0 / 438.4 MB, free: 468 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004413/0.261, allocations: 173.7 kB / 438.6 MB, free: 288 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.2611, allocations: 170.2 kB / 438.7 MB, free: 80 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003951/0.2615, allocations: 344.2 kB / 439.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.2615, allocations: 33.7 kB / 439.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2616, allocations: 128.4 kB / 439.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.2617, allocations: 19.97 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.2617, allocations: 37.66 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2619, allocations: 338.8 kB / 439.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.976e-05/0.262, allocations: 23.98 kB / 439.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.2621, allocations: 159 kB / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.2623, allocations: 97.97 kB / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2623, allocations: 0 / 439.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002911/0.2626, allocations: 145.4 kB / 440 MB, free: 14.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2626, allocations: 12.19 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.2626, allocations: 0 / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.2626, allocations: 4 kB / 440 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.2628, allocations: 23.92 kB / 440.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.2628, allocations: 7.938 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/0.2629, allocations: 7.938 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.2629, allocations: 11.98 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001495/0.263, allocations: 154.5 kB / 440.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.2631, allocations: 89.47 kB / 440.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.2634, allocations: 123.4 kB / 440.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2634, allocations: 4 kB / 440.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2634, allocations: 0 / 440.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2634, allocations: 7.938 kB / 440.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.2636, allocations: 177.5 kB / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2636, allocations: 0 / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.403e-05/0.2637, allocations: 31.92 kB / 440.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2637, allocations: 0 / 440.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.2638, allocations: 4 kB / 440.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2638, allocations: 4.062 kB / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2638, allocations: 0 / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003243/0.2641, allocations: 203.2 kB / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/0.2642, allocations: 47.75 kB / 440.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.2642, allocations: 4 kB / 440.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.2643, allocations: 4 kB / 440.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.2643, allocations: 11.98 kB / 440.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2644, allocations: 7.984 kB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002699/0.2646, allocations: 255.1 kB / 441.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2646, allocations: 0 / 441.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.2649, allocations: 39.98 kB / 441.2 MB, free: 13.38 MB / 350.1 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.001653/0.2666, allocations: 446.5 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.2668, allocations: 91.72 kB / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2668, allocations: 0 / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.251e-05/0.2669, allocations: 31.98 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.2674, allocations: 77.53 kB / 441.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006537/0.268, allocations: 398.7 kB / 442.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.2682, allocations: 136.2 kB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.982e-05/0.2682, allocations: 37.75 kB / 442.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.2683, allocations: 23.44 kB / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2683, allocations: 0 / 442.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Templates: time 0.007556/0.2759, allocations: 3.438 MB / 445.9 MB, free: 8.902 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.555174637003802]