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.0007854/0.0007854, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001866, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007303/0.0007303, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001742, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.081/1.081, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1085/1.189, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.613e-06/1.613e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.618e-05, allocations: 9.688 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.002601/0.002627, allocations: 2.011 MB / 246.7 MB, free: 12.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.004291, allocations: 1.215 MB / 247.9 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.004409, allocations: 7.938 kB / 247.9 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.004844, allocations: 151.3 kB / 248.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.005167, allocations: 163.2 kB / 248.2 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004099/0.005577, allocations: 182 kB / 248.4 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.005821, allocations: 199.3 kB / 248.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.005922, allocations: 30.39 kB / 248.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001781/0.0061, allocations: 147.5 kB / 248.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.006206, allocations: 63.8 kB / 248.9 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.006228, allocations: 12 kB / 248.9 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.006364, allocations: 63.89 kB / 248.9 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.006421, allocations: 35.86 kB / 249 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.009e-05/0.006461, allocations: 31.88 kB / 249 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.006695, allocations: 151.4 kB / 249.1 MB, free: 9.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.319e-05/0.006708, allocations: 0 / 249.1 MB, free: 9.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.006711, allocations: 7.984 kB / 249.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.006721, allocations: 0 / 249.2 MB, free: 9.742 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.0005245/0.007246, allocations: 472.8 kB / 249.6 MB, free: 9.25 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.007274, allocations: 8.031 kB / 249.6 MB, free: 9.242 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.007316, allocations: 16.92 kB / 249.6 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.007538, allocations: 209.6 kB / 249.8 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.007557, allocations: 8.375 kB / 249.9 MB, free: 8.984 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.007571, allocations: 4.375 kB / 249.9 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.007762, allocations: 138 kB / 250 MB, free: 8.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.00777, allocations: 7.875 kB / 250 MB, free: 8.812 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.00778, allocations: 8 kB / 250 MB, free: 8.805 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.007785, allocations: 0 / 250 MB, free: 8.805 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.768e-05/0.007823, allocations: 26.73 kB / 250 MB, free: 8.777 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.008107, allocations: 287.8 kB / 250.3 MB, free: 8.469 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.008235, allocations: 157.1 kB / 250.5 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.008269, allocations: 39.42 kB / 250.5 MB, free: 8.227 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.00829, allocations: 7.922 kB / 250.5 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.008395, allocations: 87.86 kB / 250.6 MB, free: 8.113 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.008396, allocations: 0 / 250.6 MB, free: 8.113 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001497/0.008546, allocations: 96.77 kB / 250.7 MB, free: 8.012 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003176/0.008864, allocations: 144.4 kB / 250.8 MB, free: 7.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.009005, allocations: 234.6 kB / 251.1 MB, free: 7.598 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.009022, allocations: 33.7 kB / 251.1 MB, free: 7.559 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.009062, allocations: 100.9 kB / 251.2 MB, free: 7.453 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.009084, allocations: 15.84 kB / 251.2 MB, free: 7.438 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.009119, allocations: 29.7 kB / 251.2 MB, free: 7.402 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.0092, allocations: 334.8 kB / 251.6 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.00922, allocations: 10.81 kB / 251.6 MB, free: 7.055 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.514e-05/0.009255, allocations: 53.14 kB / 251.6 MB, free: 6.984 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.54e-05/0.0093, allocations: 52.2 kB / 251.7 MB, free: 6.922 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009302, allocations: 0 / 251.7 MB, free: 6.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.591e-05/0.009378, allocations: 76.38 kB / 251.8 MB, free: 6.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.009389, allocations: 4 kB / 251.8 MB, free: 6.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.009394, allocations: 4 kB / 251.8 MB, free: 6.832 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.009407, allocations: 0 / 251.8 MB, free: 6.832 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.009466, allocations: 15.94 kB / 251.8 MB, free: 6.816 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.009469, allocations: 0 / 251.8 MB, free: 6.816 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.009509, allocations: 15.98 kB / 251.8 MB, free: 6.801 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.009514, allocations: 0 / 251.8 MB, free: 6.801 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 6.977e-05/0.009584, allocations: 125 kB / 251.9 MB, free: 6.668 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.009631, allocations: 61.55 kB / 252 MB, free: 6.602 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.009731, allocations: 71.45 kB / 252 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.009734, allocations: 0 / 252 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.009739, allocations: 11.98 kB / 252.1 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009742, allocations: 3.938 kB / 252.1 MB, free: 6.512 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.009849, allocations: 113.8 kB / 252.2 MB, free: 6.383 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.00985, allocations: 4.062 kB / 252.2 MB, free: 6.379 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.685e-05/0.009877, allocations: 11.94 kB / 252.2 MB, free: 6.367 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.009918, allocations: 27.83 kB / 252.2 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.009921, allocations: 0 / 252.2 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.009929, allocations: 8 kB / 252.2 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.009932, allocations: 3.984 kB / 252.2 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.009933, allocations: 0 / 252.2 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.842e-05/0.01002, allocations: 113.3 kB / 252.3 MB, free: 6.188 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.01004, allocations: 11.94 kB / 252.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.365e-05/0.01007, allocations: 3.984 kB / 252.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.0101, allocations: 12 kB / 252.4 MB, free: 6.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.01012, allocations: 7.984 kB / 252.4 MB, free: 6.152 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.643e-05/0.01018, allocations: 81.61 kB / 252.5 MB, free: 6.066 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01018, allocations: 0 / 252.5 MB, free: 6.066 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.01036, allocations: 35.89 kB / 252.5 MB, free: 6.031 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.001467/0.01182, allocations: 0.5662 MB / 253.1 MB, free: 5.742 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001411/0.01196, allocations: 52.72 kB / 253.1 MB, free: 5.688 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.01197, allocations: 4 kB / 253.1 MB, free: 5.684 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.075e-05/0.01202, allocations: 24.83 kB / 253.1 MB, free: 5.656 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.01234, allocations: 373.2 kB / 253.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005467/0.01289, allocations: 312.7 kB / 253.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.01293, allocations: 79.98 kB / 253.9 MB, free: 4.797 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.202e-05/0.01298, allocations: 25.95 kB / 253.9 MB, free: 4.773 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.228e-05/0.01307, allocations: 75.36 kB / 254 MB, free: 4.699 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01307, allocations: 0 / 254 MB, free: 4.699 MB / 250.7 MB Notification: Performance of Templates: time 0.004927/0.01799, allocations: 2.999 MB / 257 MB, free: 1.75 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8180548073723912]