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.001305/0.001305, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.001397/0.001397, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.477/1.477, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.002153/0.002153, allocations: 55.92 kB / 374.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1114, allocations: 53.33 MB / 427.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003904/0.1153, allocations: 1.927 MB / 429.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.1177, allocations: 1.235 MB / 430.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.1179, allocations: 3.938 kB / 430.6 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006956/0.1186, allocations: 151.5 kB / 430.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005138/0.1191, allocations: 167.3 kB / 431 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006138/0.1197, allocations: 167.1 kB / 431.1 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.1201, allocations: 191.5 kB / 431.3 MB, free: 444 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.1202, allocations: 25.61 kB / 431.3 MB, free: 420 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.1204, allocations: 83.62 kB / 431.4 MB, free: 336 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.1205, allocations: 87.61 kB / 431.5 MB, free: 248 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.1205, allocations: 12 kB / 431.5 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.1207, allocations: 59.91 kB / 431.6 MB, free: 176 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.243e-05/0.1208, allocations: 47.83 kB / 431.6 MB, free: 128 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.512e-05/0.1209, allocations: 79.42 kB / 431.7 MB, free: 48 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2053/0.3262, allocations: 209.8 kB / 431.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3262, allocations: 4.406 kB / 431.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3262, allocations: 0.5938 kB / 431.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3263, allocations: 2.578 kB / 431.9 MB, free: 8.422 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.0008333/0.3271, allocations: 0.5228 MB / 432.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3271, allocations: 10.75 kB / 432.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.372e-05/0.3272, allocations: 23.77 kB / 432.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.3275, allocations: 283.1 kB / 432.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3275, allocations: 10.19 kB / 432.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.3275, allocations: 5.094 kB / 432.8 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003323/0.3279, allocations: 165.2 kB / 432.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3279, allocations: 0.7812 kB / 432.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.3279, allocations: 1.062 kB / 432.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3279, allocations: 3.188 kB / 432.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.328, allocations: 40.34 kB / 433 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.3285, allocations: 448.2 kB / 433.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.3288, allocations: 131.9 kB / 433.5 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.3288, allocations: 52.83 kB / 433.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.3289, allocations: 6.438 kB / 433.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.329, allocations: 97 kB / 433.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/0.329, allocations: 0 / 433.7 MB, free: 7.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003922/0.3294, allocations: 161.1 kB / 433.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.3295, allocations: 159.1 kB / 434 MB, free: 6.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.3298, allocations: 282.1 kB / 434.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.3298, allocations: 33.11 kB / 434.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.276e-05/0.3298, allocations: 115.1 kB / 434.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.3299, allocations: 21.75 kB / 434.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.3299, allocations: 38.75 kB / 434.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.33, allocations: 332.1 kB / 434.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.33, allocations: 26.08 kB / 434.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.005e-05/0.3301, allocations: 78.66 kB / 434.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3303, allocations: 89.08 kB / 435 MB, free: 6.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3303, allocations: 0 / 435 MB, free: 6.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002027/0.3305, allocations: 126.9 kB / 435.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3305, allocations: 6.219 kB / 435.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3305, allocations: 2.781 kB / 435.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3305, allocations: 3.156 kB / 435.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.3306, allocations: 16.53 kB / 435.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3306, allocations: 6 kB / 435.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.506e-05/0.3307, allocations: 12.95 kB / 435.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.3307, allocations: 5.859 kB / 435.2 MB, free: 6.109 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 9.877e-05/0.3308, allocations: 161.1 kB / 435.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.3308, allocations: 68.36 kB / 435.4 MB, free: 5.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.8e-05/0.3309, allocations: 22.09 kB / 435.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3309, allocations: 3.688 kB / 435.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3309, allocations: 6.906 kB / 435.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3309, allocations: 2.688 kB / 435.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.3311, allocations: 234.5 kB / 435.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3311, allocations: 4.5 kB / 435.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.3311, allocations: 4.469 kB / 435.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3311, allocations: 2.312 kB / 435.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3311, allocations: 7.672 kB / 435.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3311, allocations: 3 kB / 435.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3311, allocations: 1.188 kB / 435.7 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.3314, allocations: 178.8 kB / 435.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.77e-05/0.3314, allocations: 105.6 kB / 436 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.3315, allocations: 8.625 kB / 436 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.635e-05/0.3315, allocations: 11.55 kB / 436 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.3316, allocations: 5.531 kB / 436 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.3316, allocations: 8.375 kB / 436 MB, free: 5.527 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.3318, allocations: 207.9 kB / 436.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3318, allocations: 0 / 436.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002734/0.332, allocations: 39.27 kB / 436.2 MB, free: 5.438 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.001523/0.3336, allocations: 421.6 kB / 436.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002534/0.3338, allocations: 81.59 kB / 436.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3338, allocations: 0 / 436.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.684e-05/0.3339, allocations: 24.89 kB / 436.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.3344, allocations: 71.97 kB / 436.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.3349, allocations: 374.8 kB / 437.2 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.3351, allocations: 0.7326 MB / 437.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.3352, allocations: 19.73 kB / 437.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3352, allocations: 0 / 437.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of Templates: time 0.006039/0.3412, allocations: 2.764 MB / 440.7 MB, free: 4.07 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 -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: 7.812374555011047]