Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.00162/0.00162, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001913/0.001913, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.449/1.449, allocations: 230.6 MB / 258.2 MB, free: 7.766 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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.253, allocations: 53.37 MB / 432.3 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003488/0.2565, allocations: 1.903 MB / 434.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.2587, allocations: 1.157 MB / 435.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.2588, allocations: 7.938 kB / 435.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.2594, allocations: 155.5 kB / 435.5 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.2598, allocations: 163.4 kB / 435.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.2602, allocations: 183 kB / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.2605, allocations: 191.5 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.2606, allocations: 25.59 kB / 436.1 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.2607, allocations: 87.56 kB / 436.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.2609, allocations: 87.61 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.2609, allocations: 8 kB / 436.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.261, allocations: 59.95 kB / 436.3 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.2611, allocations: 51.78 kB / 436.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.45e-05/0.2612, allocations: 59.61 kB / 436.4 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003273/0.2615, allocations: 210 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2615, allocations: 7.984 kB / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2615, allocations: 0 / 436.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2615, allocations: 0 / 436.7 MB, free: 2.328 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.000766/0.2623, allocations: 466.5 kB / 437.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.2623, allocations: 8.031 kB / 437.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.905e-05/0.2624, allocations: 24.8 kB / 437.1 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.2627, allocations: 217.1 kB / 437.4 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.2628, allocations: 8.375 kB / 437.4 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.2628, allocations: 12.12 kB / 437.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003515/0.2631, allocations: 158.7 kB / 437.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2631, allocations: 0 / 437.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2632, allocations: 0 / 437.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2632, allocations: 4 kB / 437.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.2633, allocations: 39.92 kB / 437.6 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.2639, allocations: 378.3 kB / 437.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.2642, allocations: 134.5 kB / 438.1 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.2643, allocations: 55.42 kB / 438.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2643, allocations: 7.984 kB / 438.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001981/0.2645, allocations: 97.09 kB / 438.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.2645, allocations: 0 / 438.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004007/0.2649, allocations: 169.4 kB / 438.4 MB, free: 400 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.623e-05/0.265, allocations: 132.5 kB / 438.5 MB, free: 236 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.2653, allocations: 281 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.2653, allocations: 29.7 kB / 438.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.2654, allocations: 120.4 kB / 438.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.2655, allocations: 19.89 kB / 439 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.538e-05/0.2655, allocations: 33.66 kB / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2657, allocations: 339.1 kB / 439.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.2658, allocations: 27.98 kB / 439.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.2659, allocations: 103.6 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.266, allocations: 89.08 kB / 439.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.266, allocations: 0 / 439.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002421/0.2663, allocations: 133.5 kB / 439.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2663, allocations: 4 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2663, allocations: 0 / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2663, allocations: 4 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.2664, allocations: 15.98 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2664, allocations: 3.938 kB / 439.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.738e-05/0.2665, allocations: 15.89 kB / 439.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.2665, allocations: 4.312 kB / 439.7 MB, free: 14.94 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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,shiftSample1.y,hold1.y,hold1.u,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.0001353/0.2666, allocations: 153.7 kB / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2668, allocations: 73.58 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.267, allocations: 115.4 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.267, allocations: 4 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.267, allocations: 0 / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.267, allocations: 0 / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.2672, allocations: 169.2 kB / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2672, allocations: 0 / 440.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.2673, allocations: 15.92 kB / 440.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2673, allocations: 0 / 440.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.2673, allocations: 8.062 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2673, allocations: 4 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2673, allocations: 0 / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.2676, allocations: 183.4 kB / 440.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.01e-05/0.2677, allocations: 39.78 kB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.2677, allocations: 3.984 kB / 440.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.854e-05/0.2678, allocations: 8 kB / 440.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.2678, allocations: 15.92 kB / 440.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.2678, allocations: 4 kB / 440.5 MB, free: 14.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002258/0.268, allocations: 204.5 kB / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.268, allocations: 4 kB / 440.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.2683, allocations: 28 kB / 440.7 MB, free: 13.85 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,hold1.y,hold1.u,shiftSample1.y,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.001611/0.2699, allocations: 460.2 kB / 441.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.2701, allocations: 79.83 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2701, allocations: 0 / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.593e-05/0.2702, allocations: 32.23 kB / 441.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.2706, allocations: 72.09 kB / 441.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.2712, allocations: 341.8 kB / 441.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.2713, allocations: 127.5 kB / 441.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.916e-05/0.2714, allocations: 29.59 kB / 441.9 MB, free: 12.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.905e-05/0.2715, allocations: 23.42 kB / 441.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2715, allocations: 0 / 441.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of Templates: time 0.006522/0.278, allocations: 2.833 MB / 444.7 MB, free: 10.04 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.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.360596034995979]