Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009437/0.0009437, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009089/0.0009089, allocations: 148.6 kB / 24.9 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9256/0.9256, allocations: 173.4 MB / 201.5 MB, free: 8.73 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 268.5 MB, free: 5.984 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.564e-05, allocations: 10.05 kB / 268.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002705/0.002731, allocations: 1.976 MB / 270.5 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.004089, allocations: 1.071 MB / 271.6 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.004194, allocations: 7.938 kB / 271.6 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.004689, allocations: 155.4 kB / 271.7 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.00487, allocations: 119.4 kB / 271.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.005155, allocations: 203.2 kB / 272 MB, free: 2.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.005322, allocations: 183.5 kB / 272.2 MB, free: 2.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.776e-05/0.0054, allocations: 30.38 kB / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.005503, allocations: 107.7 kB / 272.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.556e-05/0.005588, allocations: 67.8 kB / 272.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.005607, allocations: 12 kB / 272.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.005709, allocations: 55.95 kB / 272.5 MB, free: 1.98 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.005755, allocations: 39.84 kB / 272.5 MB, free: 1.941 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.005795, allocations: 43.84 kB / 272.6 MB, free: 1.898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.005968, allocations: 163.3 kB / 272.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.005969, allocations: 0 / 272.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.005969, allocations: 0 / 272.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.005973, allocations: 0 / 272.7 MB, free: 1.738 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.0003516/0.006324, allocations: 429.3 kB / 273.1 MB, free: 1.289 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.419e-05/0.006348, allocations: 12.03 kB / 273.2 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.006382, allocations: 16.92 kB / 273.2 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.006564, allocations: 209.6 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.006577, allocations: 8.375 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.006588, allocations: 8.312 kB / 273.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.006741, allocations: 134.1 kB / 273.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006749, allocations: 7.938 kB / 273.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-06/0.006755, allocations: 0 / 273.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.00676, allocations: 3.984 kB / 273.5 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.122e-05/0.006791, allocations: 22.77 kB / 273.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.007014, allocations: 287.7 kB / 273.8 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.007119, allocations: 145.2 kB / 274 MB, free: 340 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.007152, allocations: 47.42 kB / 274 MB, free: 280 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.007164, allocations: 7.938 kB / 274 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.238e-05/0.007247, allocations: 87.84 kB / 274.1 MB, free: 164 kB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 8.52e-07/0.007248, allocations: 0 / 274.1 MB, free: 164 kB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001208/0.007368, allocations: 92.36 kB / 274.2 MB, free: 64 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.007423, allocations: 132.5 kB / 274.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.007555, allocations: 234.6 kB / 274.6 MB, free: 15.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.007571, allocations: 34.08 kB / 274.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.007607, allocations: 108.3 kB / 274.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.007622, allocations: 11.86 kB / 274.7 MB, free: 15.49 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.007653, allocations: 33.69 kB / 274.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.007722, allocations: 330.8 kB / 275.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.007736, allocations: 6.828 kB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.516e-05/0.007771, allocations: 68.98 kB / 275.1 MB, free: 15.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/0.007812, allocations: 44.22 kB / 275.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.007814, allocations: 0 / 275.2 MB, free: 14.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.396e-05/0.007878, allocations: 76.41 kB / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.007887, allocations: 6.969 kB / 275.3 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.007892, allocations: 7.984 kB / 275.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.007902, allocations: 3.984 kB / 275.3 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.436e-05/0.007946, allocations: 15.94 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.007949, allocations: 4 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.948e-05/0.007979, allocations: 4 kB / 275.3 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.007984, allocations: 3.984 kB / 275.3 MB, free: 14.85 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.918e-05/0.008043, allocations: 120.6 kB / 275.4 MB, free: 14.72 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.008081, allocations: 61.62 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.036e-05/0.008162, allocations: 83.41 kB / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.008166, allocations: 4 kB / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.008167, allocations: 320 / 275.6 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.008171, allocations: 3.938 kB / 275.6 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.377e-05/0.008255, allocations: 105.8 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.008258, allocations: 7.984 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.629e-05/0.008274, allocations: 4 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.008276, allocations: 4 kB / 275.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.008283, allocations: 7.938 kB / 275.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.008285, allocations: 8.062 kB / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.008286, allocations: 0 / 275.7 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.424e-05/0.00836, allocations: 113.2 kB / 275.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.008403, allocations: 27.89 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.008423, allocations: 11.94 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.731e-05/0.00845, allocations: 0 / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.115e-05/0.008471, allocations: 7.984 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.008479, allocations: 4 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.73e-05/0.008537, allocations: 81.61 kB / 276 MB, free: 14.13 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008537, allocations: 7.938 kB / 276 MB, free: 14.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001248/0.008662, allocations: 39.88 kB / 276 MB, free: 14.08 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,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.0009368/0.009598, allocations: 0.504 MB / 276.5 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.808e-05/0.009677, allocations: 44.77 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.00968, allocations: 7.938 kB / 276.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.842e-05/0.009708, allocations: 20.84 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.009882, allocations: 69.77 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.01018, allocations: 316.6 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.01022, allocations: 79.97 kB / 277 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.01026, allocations: 21.75 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.555e-05/0.01033, allocations: 83.36 kB / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01033, allocations: 0 / 277.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of Templates: time 0.003892/0.01422, allocations: 2.894 MB / 280 MB, free: 10.27 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.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.592073542997241]