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.001329/0.001329, allocations: 73.56 kB / 21.24 MB, free: 0.5547 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.001461/0.001461, allocations: 159.3 kB / 24.5 MB, free: 3.715 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.473/1.473, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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.001736/0.001736, allocations: 48.16 kB / 325.6 MB, free: 256 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1043, allocations: 53.33 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003686/0.108, allocations: 1.901 MB / 380.8 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.1102, allocations: 1.157 MB / 382 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.1104, allocations: 7.938 kB / 382 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006965/0.1111, allocations: 159.5 kB / 382.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004496/0.1115, allocations: 159.4 kB / 382.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.112, allocations: 182.7 kB / 382.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.1123, allocations: 199.4 kB / 382.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.1125, allocations: 21.73 kB / 382.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.1126, allocations: 87.64 kB / 382.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1128, allocations: 79.59 kB / 382.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.1128, allocations: 12 kB / 382.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.113, allocations: 59.97 kB / 382.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.521e-05/0.113, allocations: 55.7 kB / 383 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.174e-05/0.1131, allocations: 51.61 kB / 383 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.1135, allocations: 223 kB / 383.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1135, allocations: 0 / 383.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1135, allocations: 0 / 383.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1135, allocations: 0 / 383.2 MB, free: 11.3 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.0008065/0.1143, allocations: 462.6 kB / 383.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1143, allocations: 8.031 kB / 383.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.1144, allocations: 24.8 kB / 383.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.1148, allocations: 209.6 kB / 383.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.1148, allocations: 8.375 kB / 383.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1148, allocations: 20.05 kB / 383.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.1152, allocations: 166.6 kB / 384.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.1152, allocations: 0 / 384.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1152, allocations: 0 / 384.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1152, allocations: 4 kB / 384.1 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.1153, allocations: 43.91 kB / 384.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.1158, allocations: 374.3 kB / 384.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.1161, allocations: 130.5 kB / 384.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1162, allocations: 59.42 kB / 384.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.1162, allocations: 7.984 kB / 384.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001767/0.1164, allocations: 89.05 kB / 384.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.1164, allocations: 0 / 384.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004165/0.1168, allocations: 165.4 kB / 385 MB, free: 9.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.706e-05/0.1169, allocations: 132.5 kB / 385.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.1172, allocations: 282.2 kB / 385.4 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1173, allocations: 33.7 kB / 385.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.482e-05/0.1174, allocations: 120.4 kB / 385.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.1174, allocations: 23.89 kB / 385.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.589e-05/0.1175, allocations: 37.67 kB / 385.6 MB, free: 8.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1176, allocations: 342.7 kB / 385.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.026e-05/0.1177, allocations: 23.98 kB / 385.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1178, allocations: 99.64 kB / 386 MB, free: 8.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.118, allocations: 93.11 kB / 386.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.118, allocations: 0 / 386.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002575/0.1183, allocations: 125.5 kB / 386.2 MB, free: 7.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1183, allocations: 11.98 kB / 386.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1183, allocations: 0 / 386.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1183, allocations: 4 kB / 386.3 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.1184, allocations: 12.09 kB / 386.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1184, allocations: 8 kB / 386.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.095e-05/0.1185, allocations: 15.94 kB / 386.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1185, allocations: 8.25 kB / 386.3 MB, free: 7.906 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.0001416/0.1186, allocations: 149.8 kB / 386.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.1187, allocations: 69.5 kB / 386.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002658/0.119, allocations: 119.4 kB / 386.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.119, allocations: 0 / 386.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.119, allocations: 4.062 kB / 386.6 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.119, allocations: 4 kB / 386.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.1192, allocations: 169.1 kB / 386.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1192, allocations: 0 / 386.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.1192, allocations: 15.94 kB / 386.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1192, allocations: 0 / 386.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.1192, allocations: 7.984 kB / 386.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.1193, allocations: 0 / 386.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1193, allocations: 0 / 386.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.1196, allocations: 191.3 kB / 387 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.78e-05/0.1196, allocations: 35.84 kB / 387 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.1197, allocations: 4 kB / 387.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.994e-05/0.1197, allocations: 8 kB / 387.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1198, allocations: 7.984 kB / 387.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.1198, allocations: 4 kB / 387.1 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002245/0.12, allocations: 209.2 kB / 387.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.12, allocations: 0 / 387.3 MB, free: 6.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.1203, allocations: 31.94 kB / 387.3 MB, free: 6.816 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.001643/0.1219, allocations: 453.6 kB / 387.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002606/0.1222, allocations: 83.83 kB / 387.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1222, allocations: 0 / 387.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.986e-05/0.1223, allocations: 35.91 kB / 387.9 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.1227, allocations: 74.56 kB / 387.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006041/0.1233, allocations: 341.8 kB / 388.3 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.1234, allocations: 128.1 kB / 388.4 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.154e-05/0.1235, allocations: 21.62 kB / 388.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.1235, allocations: 20.5 kB / 388.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1235, allocations: 0 / 388.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of Templates: time 0.00685/0.1304, allocations: 2.711 MB / 391.1 MB, free: 3.137 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 ida -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.34964990708977]