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.001529/0.001529, allocations: 124.5 kB / 18.46 MB, free: 4.613 MB / 14.72 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.001704/0.001704, allocations: 190.7 kB / 21.4 MB, free: 1.684 MB / 14.72 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 1.378/1.378, allocations: 225.6 MB / 249.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001652/0.001652, allocations: 47.92 kB / 366.8 MB, free: 384 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1063, allocations: 52.14 MB / 418.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003448/0.1097, allocations: 1.91 MB / 420.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1116, allocations: 1.083 MB / 421.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.1117, allocations: 7.938 kB / 421.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006591/0.1124, allocations: 151.5 kB / 422.1 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003201/0.1127, allocations: 115.5 kB / 422.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006026/0.1133, allocations: 213.8 kB / 422.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002504/0.1135, allocations: 175.5 kB / 422.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1136, allocations: 25.53 kB / 422.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1138, allocations: 75.7 kB / 422.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1139, allocations: 83.55 kB / 422.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.1139, allocations: 16 kB / 422.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1141, allocations: 55.95 kB / 422.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.1141, allocations: 43.84 kB / 422.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.05e-05/0.1142, allocations: 71.48 kB / 422.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003309/0.1146, allocations: 219 kB / 423.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1146, allocations: 0 / 423.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1146, allocations: 0 / 423.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.1146, allocations: 0 / 423.2 MB, free: 7.906 MB / 350.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.0008651/0.1154, allocations: 0.5193 MB / 423.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.1155, allocations: 23.83 kB / 423.7 MB, free: 7.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.1156, allocations: 20.8 kB / 423.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.1159, allocations: 271 kB / 424 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1159, allocations: 384 / 424 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.116, allocations: 16.12 kB / 424 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.1163, allocations: 167.5 kB / 424.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1163, allocations: 0 / 424.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.1164, allocations: 4 kB / 424.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.1164, allocations: 0 / 424.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.1165, allocations: 39.91 kB / 424.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.117, allocations: 446.6 kB / 424.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.1173, allocations: 138.5 kB / 424.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.875e-05/0.1174, allocations: 51.42 kB / 424.8 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.1174, allocations: 4 kB / 424.8 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/0.1176, allocations: 101.1 kB / 424.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.1176, allocations: 0 / 424.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004032/0.118, allocations: 149.5 kB / 425.1 MB, free: 5.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.1181, allocations: 166.5 kB / 425.2 MB, free: 5.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.1184, allocations: 269 kB / 425.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1185, allocations: 29.7 kB / 425.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.1186, allocations: 120.4 kB / 425.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.1186, allocations: 19.84 kB / 425.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.1186, allocations: 37.64 kB / 425.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1188, allocations: 330.8 kB / 426 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.1189, allocations: 27.92 kB / 426.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.119, allocations: 82.84 kB / 426.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1191, allocations: 89.06 kB / 426.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1192, allocations: 4 kB / 426.2 MB, free: 4.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002443/0.1194, allocations: 133.6 kB / 426.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1194, allocations: 4 kB / 426.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1194, allocations: 7.984 kB / 426.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1194, allocations: 0 / 426.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1195, allocations: 16.16 kB / 426.4 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1195, allocations: 4 kB / 426.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.424e-05/0.1196, allocations: 11.92 kB / 426.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1196, allocations: 8 kB / 426.4 MB, free: 4.27 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.0001362/0.1198, allocations: 146.3 kB / 426.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1199, allocations: 69.5 kB / 426.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.1199, allocations: 25.7 kB / 426.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1199, allocations: 4 kB / 426.7 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1199, allocations: 4.062 kB / 426.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1199, allocations: 7.922 kB / 426.7 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.1202, allocations: 225.5 kB / 426.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1202, allocations: 0 / 426.9 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.1202, allocations: 11.98 kB / 426.9 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1202, allocations: 0 / 426.9 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1202, allocations: 8 kB / 426.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.1202, allocations: 0 / 426.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1202, allocations: 0 / 426.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.1205, allocations: 179.3 kB / 427.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.97e-05/0.1206, allocations: 109 kB / 427.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.1206, allocations: 0 / 427.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/0.1207, allocations: 11.98 kB / 427.2 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.1207, allocations: 7.938 kB / 427.2 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1208, allocations: 8 kB / 427.2 MB, free: 3.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.121, allocations: 196.5 kB / 427.4 MB, free: 3.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.121, allocations: 0 / 427.4 MB, free: 3.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002736/0.1212, allocations: 39.88 kB / 427.4 MB, free: 3.125 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001517/0.1227, allocations: 432.2 kB / 427.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.123, allocations: 76.16 kB / 427.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.123, allocations: 4.062 kB / 427.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.083e-05/0.1231, allocations: 27.92 kB / 428 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004387/0.1235, allocations: 68.56 kB / 428 MB, free: 2.699 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.1242, allocations: 362.9 kB / 428.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.1245, allocations: 0.7437 MB / 429.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.1246, allocations: 19.44 kB / 429.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1246, allocations: 0 / 429.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of Templates: time 0.00522/0.1298, allocations: 2.698 MB / 431.9 MB, free: 14.83 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 7.020803421037272]