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.00092/0.00092, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006009/0.006929, allocations: 449.7 kB / 10.37 MB, free: 328 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.0009533/0.0009533, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002148, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.031/1.031, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09407/1.125, allocations: 53.65 MB / 243.3 MB, free: 15.57 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.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 1.323e-06/1.323e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.805e-06/9.128e-06, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.001988/0.001997, allocations: 2.007 MB / 246.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00126/0.003257, allocations: 1.211 MB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.319e-05/0.00333, allocations: 7.938 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.003649, allocations: 155.4 kB / 247.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.003879, allocations: 167.2 kB / 248.1 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.004161, allocations: 170.1 kB / 248.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.004336, allocations: 199.3 kB / 248.4 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.068e-05/0.004397, allocations: 30.38 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.004547, allocations: 147.5 kB / 248.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.004638, allocations: 67.8 kB / 248.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.004652, allocations: 8 kB / 248.7 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.004767, allocations: 63.89 kB / 248.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.00481, allocations: 35.86 kB / 248.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.582e-05/0.004846, allocations: 31.88 kB / 248.8 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.005026, allocations: 159.4 kB / 248.9 MB, free: 9.859 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.005034, allocations: 4 kB / 249 MB, free: 9.855 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.005034, allocations: 0 / 249 MB, free: 9.855 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.005041, allocations: 0 / 249 MB, free: 9.855 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.000376/0.005417, allocations: 460.9 kB / 249.4 MB, free: 9.375 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.943e-05/0.005437, allocations: 12.03 kB / 249.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.005465, allocations: 16.92 kB / 249.4 MB, free: 9.348 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.005643, allocations: 217.5 kB / 249.6 MB, free: 9.109 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.005655, allocations: 8.359 kB / 249.7 MB, free: 9.102 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.268e-06/0.005664, allocations: 12.38 kB / 249.7 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.005809, allocations: 137.8 kB / 249.8 MB, free: 8.934 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.005816, allocations: 7.875 kB / 249.8 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.005822, allocations: 0 / 249.8 MB, free: 8.926 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.005826, allocations: 4 kB / 249.8 MB, free: 8.922 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.324e-05/0.005859, allocations: 18.81 kB / 249.8 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.006083, allocations: 283.7 kB / 250.1 MB, free: 8.598 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.006215, allocations: 161.2 kB / 250.3 MB, free: 8.402 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.006249, allocations: 43.36 kB / 250.3 MB, free: 8.348 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.006265, allocations: 7.938 kB / 250.3 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.546e-05/0.00636, allocations: 83.91 kB / 250.4 MB, free: 8.238 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 8.21e-07/0.006361, allocations: 0 / 250.4 MB, free: 8.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001194/0.00648, allocations: 108.5 kB / 250.5 MB, free: 8.125 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.00653, allocations: 132.5 kB / 250.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.006668, allocations: 246.6 kB / 250.9 MB, free: 7.707 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.006681, allocations: 25.7 kB / 250.9 MB, free: 7.676 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.006722, allocations: 100.9 kB / 251 MB, free: 7.57 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.006742, allocations: 23.84 kB / 251 MB, free: 7.547 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.006772, allocations: 25.7 kB / 251 MB, free: 7.516 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.854e-05/0.006851, allocations: 330.8 kB / 251.4 MB, free: 7.184 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.006866, allocations: 10.83 kB / 251.4 MB, free: 7.172 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/0.0069, allocations: 57.31 kB / 251.4 MB, free: 7.098 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.119e-05/0.006941, allocations: 56.17 kB / 251.5 MB, free: 7.031 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.006942, allocations: 0 / 251.5 MB, free: 7.031 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 6.343e-05/0.007006, allocations: 72.38 kB / 251.6 MB, free: 6.953 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.007015, allocations: 4 kB / 251.6 MB, free: 6.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.007018, allocations: 0 / 251.6 MB, free: 6.949 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-06/0.007023, allocations: 0 / 251.6 MB, free: 6.949 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.688e-05/0.00707, allocations: 15.98 kB / 251.6 MB, free: 6.934 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.007072, allocations: 0 / 251.6 MB, free: 6.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.007104, allocations: 19.94 kB / 251.6 MB, free: 6.914 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.007109, allocations: 7.938 kB / 251.6 MB, free: 6.906 MB / 250.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.972e-05/0.007168, allocations: 116.7 kB / 251.7 MB, free: 6.781 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.00721, allocations: 61.55 kB / 251.8 MB, free: 6.715 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.748e-05/0.007297, allocations: 71.44 kB / 251.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.0073, allocations: 4 kB / 251.9 MB, free: 6.637 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.007302, allocations: 0 / 251.9 MB, free: 6.637 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.007306, allocations: 3.984 kB / 251.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.132e-05/0.007397, allocations: 105.8 kB / 252 MB, free: 6.512 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.007399, allocations: 8.375 kB / 252 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-05/0.00742, allocations: 15.92 kB / 252 MB, free: 6.488 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.007459, allocations: 31.83 kB / 252 MB, free: 6.457 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.007462, allocations: 4 kB / 252 MB, free: 6.453 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.007468, allocations: 3.984 kB / 252 MB, free: 6.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.00747, allocations: 4 kB / 252 MB, free: 6.445 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007471, allocations: 0 / 252 MB, free: 6.445 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.551e-05/0.007547, allocations: 105.3 kB / 252.1 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.007563, allocations: 7.938 kB / 252.1 MB, free: 6.305 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.113e-05/0.007594, allocations: 11.98 kB / 252.1 MB, free: 6.293 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.007615, allocations: 15.92 kB / 252.2 MB, free: 6.277 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.007623, allocations: 7.984 kB / 252.2 MB, free: 6.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.231e-05/0.007685, allocations: 85.59 kB / 252.3 MB, free: 6.184 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007685, allocations: 0 / 252.3 MB, free: 6.184 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001338/0.007819, allocations: 31.89 kB / 252.3 MB, free: 6.152 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,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.001191/0.00901, allocations: 0.5501 MB / 252.8 MB, free: 5.871 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.612e-05/0.009106, allocations: 56.7 kB / 252.9 MB, free: 5.812 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.009113, allocations: 0 / 252.9 MB, free: 5.812 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.03e-05/0.009144, allocations: 28.78 kB / 252.9 MB, free: 5.781 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.009336, allocations: 82.2 kB / 253 MB, free: 5.707 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.009765, allocations: 320.7 kB / 253.3 MB, free: 5.355 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.076e-05/0.009806, allocations: 75.98 kB / 253.4 MB, free: 5.262 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.349e-05/0.009849, allocations: 21.86 kB / 253.4 MB, free: 5.238 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.00993, allocations: 87.34 kB / 253.5 MB, free: 5.152 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.00993, allocations: 0 / 253.5 MB, free: 5.152 MB / 250.7 MB Notification: Performance of Templates: time 0.004157/0.01409, allocations: 2.977 MB / 256.5 MB, free: 2.227 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.6496543381363153]