Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001978/0.001978, allocations: 82.98 kB / 20.68 MB, free: 1.023 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.002325/0.002325, allocations: 145 kB / 23.93 MB, free: 4.168 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.444/1.444, allocations: 173.3 MB / 200.4 MB, free: 12.89 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.IntegerSignals.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.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.156e-05, allocations: 2.281 kB / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002655/0.002677, allocations: 1.871 MB / 320.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.004351, allocations: 1.098 MB / 321.9 MB, free: 1.598 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.004463, allocations: 6.625 kB / 321.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.004764, allocations: 63.75 kB / 322 MB, free: 1.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002569/0.005021, allocations: 104 kB / 322.1 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006167/0.005637, allocations: 256.2 kB / 322.3 MB, free: 1.387 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.005864, allocations: 185.2 kB / 322.5 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.005961, allocations: 26.22 kB / 322.5 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.006102, allocations: 104.1 kB / 322.6 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.006226, allocations: 75.61 kB / 322.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.006256, allocations: 13.5 kB / 322.7 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.006429, allocations: 72.5 kB / 322.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.001e-05/0.006509, allocations: 51.59 kB / 322.8 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.006576, allocations: 47.2 kB / 322.9 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003437/0.00692, allocations: 245.2 kB / 323.1 MB, free: 1.043 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.006922, allocations: 3.938 kB / 323.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006923, allocations: 0 / 323.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.006934, allocations: 1.625 kB / 323.1 MB, free: 1.039 MB / 286.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.0006112/0.007545, allocations: 471.9 kB / 323.6 MB, free: 0.625 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.007579, allocations: 13.41 kB / 323.6 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.007639, allocations: 23.55 kB / 323.6 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.007951, allocations: 230.1 kB / 323.8 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.007964, allocations: 4.812 kB / 323.8 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.007988, allocations: 8.906 kB / 323.8 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.008322, allocations: 195.3 kB / 324 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.008334, allocations: 11.94 kB / 324.1 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.008348, allocations: 2.609 kB / 324.1 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.008353, allocations: 1.781 kB / 324.1 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.008468, allocations: 42.28 kB / 324.1 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.008979, allocations: 400.2 kB / 324.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.009275, allocations: 143.5 kB / 324.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.009403, allocations: 60.88 kB / 324.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.009433, allocations: 2.031 kB / 324.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.00963, allocations: 105.2 kB / 324.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.009632, allocations: 0 / 324.8 MB, free: 15.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004526/0.01008, allocations: 171.5 kB / 325 MB, free: 15.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.0102, allocations: 163 kB / 325.1 MB, free: 15.36 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003654/0.01057, allocations: 332 kB / 325.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.01059, allocations: 27.33 kB / 325.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.0107, allocations: 132.6 kB / 325.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.01073, allocations: 20.41 kB / 325.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.036e-05/0.01079, allocations: 34.41 kB / 325.7 MB, free: 15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.01096, allocations: 331 kB / 326 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.469e-05/0.01103, allocations: 28.64 kB / 326 MB, free: 14.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.01117, allocations: 118.1 kB / 326.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.01135, allocations: 75.42 kB / 326.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.01135, allocations: 1.312 kB / 326.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002361/0.01159, allocations: 114.7 kB / 326.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.0116, allocations: 9.438 kB / 326.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01161, allocations: 1.125 kB / 326.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.01162, allocations: 5.062 kB / 326.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.01172, allocations: 14.53 kB / 326.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.01173, allocations: 2.922 kB / 326.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.228e-05/0.01181, allocations: 15.75 kB / 326.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.01182, allocations: 2.938 kB / 326.4 MB, free: 14.42 MB / 302.1 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 0.0001586/0.01198, allocations: 159.1 kB / 326.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.01209, allocations: 76.53 kB / 326.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.01238, allocations: 128.2 kB / 326.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.01238, allocations: 1.969 kB / 326.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.01239, allocations: 1.125 kB / 326.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.01239, allocations: 5.859 kB / 326.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.01261, allocations: 183.7 kB / 326.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.01261, allocations: 1.094 kB / 326.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.996e-05/0.01269, allocations: 16.31 kB / 326.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01269, allocations: 2.219 kB / 326.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.01271, allocations: 7.922 kB / 326.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.01271, allocations: 1.031 kB / 326.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01271, allocations: 1.812 kB / 326.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.01303, allocations: 192.1 kB / 327.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.77e-05/0.01311, allocations: 39.75 kB / 327.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.01315, allocations: 7.25 kB / 327.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.298e-05/0.01322, allocations: 4.781 kB / 327.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.01328, allocations: 12.44 kB / 327.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.0133, allocations: 5.234 kB / 327.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002576/0.01356, allocations: 245.5 kB / 327.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01356, allocations: 4 kB / 327.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.01385, allocations: 35.03 kB / 327.5 MB, free: 13.7 MB / 302.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.001636/0.01549, allocations: 457.6 kB / 327.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002348/0.01572, allocations: 73.67 kB / 328 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01573, allocations: 1.031 kB / 328 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.01583, allocations: 38.56 kB / 328 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.01625, allocations: 79.66 kB / 328.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007161/0.01697, allocations: 384.2 kB / 328.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.01714, allocations: 131.4 kB / 328.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.212e-05/0.01723, allocations: 30.77 kB / 328.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.952e-05/0.0173, allocations: 26.56 kB / 328.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.0173, allocations: 0 / 328.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Templates: time 0.008511/0.02581, allocations: 3.033 MB / 331.7 MB, free: 12.25 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.324129071086645]