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.00108/0.00108, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 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.0009604/0.0009604, allocations: 151 kB / 25.59 MB, free: 8.934 MB / 18.57 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.032/1.032, allocations: 173.4 MB / 202.2 MB, free: 8.324 MB / 186.7 MB " [Timeout remaining time 179] 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.984e-06/1.984e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.827e-05, allocations: 2.312 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002982/0.003011, allocations: 1.93 MB / 271.1 MB, free: 7.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.004695, allocations: 1.108 MB / 272.2 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.004825, allocations: 3.938 kB / 272.2 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.005168, allocations: 68.48 kB / 272.3 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.005469, allocations: 96.27 kB / 272.4 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.006279, allocations: 269.6 kB / 272.7 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.006566, allocations: 171.5 kB / 272.8 MB, free: 6.145 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.006677, allocations: 29.73 kB / 272.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.006809, allocations: 101.7 kB / 273 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.006925, allocations: 79.77 kB / 273 MB, free: 5.938 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.006949, allocations: 8 kB / 273 MB, free: 5.93 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.007099, allocations: 67.89 kB / 273.1 MB, free: 5.863 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.372e-05/0.007173, allocations: 59.7 kB / 273.2 MB, free: 5.805 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.007227, allocations: 40.73 kB / 273.2 MB, free: 5.766 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.007514, allocations: 191.2 kB / 273.4 MB, free: 5.578 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.007517, allocations: 0.9062 kB / 273.4 MB, free: 5.578 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007518, allocations: 0 / 273.4 MB, free: 5.578 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.007524, allocations: 0.6875 kB / 273.4 MB, free: 5.578 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.0005576/0.008082, allocations: 0.5633 MB / 274 MB, free: 4.973 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.008116, allocations: 9.281 kB / 274 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.00817, allocations: 28.8 kB / 274 MB, free: 4.938 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.008413, allocations: 232.3 kB / 274.2 MB, free: 4.688 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.008433, allocations: 5.75 kB / 274.2 MB, free: 4.684 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.008446, allocations: 8.375 kB / 274.2 MB, free: 4.676 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.008678, allocations: 157.4 kB / 274.4 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.008686, allocations: 11.94 kB / 274.4 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.008696, allocations: 0 / 274.4 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.008701, allocations: 0 / 274.4 MB, free: 4.477 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.682e-05/0.008747, allocations: 27.91 kB / 274.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.009365, allocations: 454.6 kB / 274.9 MB, free: 3.965 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.009556, allocations: 140.5 kB / 275 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.009609, allocations: 58.67 kB / 275.1 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.009631, allocations: 7.938 kB / 275.1 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.009765, allocations: 92.39 kB / 275.2 MB, free: 3.582 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.009767, allocations: 0 / 275.2 MB, free: 3.582 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002522/0.01002, allocations: 133.4 kB / 275.3 MB, free: 3.445 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.01009, allocations: 132.5 kB / 275.4 MB, free: 3.285 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.01033, allocations: 328.5 kB / 275.7 MB, free: 2.945 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.01035, allocations: 29.7 kB / 275.8 MB, free: 2.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/0.01044, allocations: 179.1 kB / 275.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.01046, allocations: 15.86 kB / 276 MB, free: 2.711 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.0105, allocations: 39.34 kB / 276 MB, free: 2.664 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.01063, allocations: 0.5079 MB / 276.5 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.424e-05/0.01065, allocations: 8 kB / 276.5 MB, free: 2.137 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.297e-05/0.0107, allocations: 68.44 kB / 276.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.01077, allocations: 54.98 kB / 276.6 MB, free: 1.98 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01077, allocations: 8.031 kB / 276.6 MB, free: 1.973 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001171/0.01089, allocations: 93.72 kB / 276.7 MB, free: 1.875 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.0109, allocations: 8 kB / 276.7 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01091, allocations: 7.938 kB / 276.8 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.01092, allocations: 0 / 276.8 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.011, allocations: 15.98 kB / 276.8 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.011, allocations: 4 kB / 276.8 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.01104, allocations: 0 / 276.8 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.01105, allocations: 4 kB / 276.8 MB, free: 1.836 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 0.0001141/0.01116, allocations: 182.5 kB / 277 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.518e-05/0.01125, allocations: 73.44 kB / 277 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.0114, allocations: 99.42 kB / 277.1 MB, free: 1.465 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.0114, allocations: 4 kB / 277.1 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.0114, allocations: 3.984 kB / 277.1 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01141, allocations: 0 / 277.1 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.01155, allocations: 153.1 kB / 277.3 MB, free: 1.281 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.01155, allocations: 4 kB / 277.3 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.0116, allocations: 12 kB / 277.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.0116, allocations: 8 kB / 277.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.01161, allocations: 7.984 kB / 277.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01161, allocations: 3.938 kB / 277.3 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01161, allocations: 4 kB / 277.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.01176, allocations: 159.3 kB / 277.5 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.01182, allocations: 31.84 kB / 277.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.01184, allocations: 11.92 kB / 277.5 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.321e-05/0.01189, allocations: 4 kB / 277.5 MB, free: 1.004 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.01192, allocations: 7.984 kB / 277.5 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.01194, allocations: 8 kB / 277.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.01205, allocations: 221 kB / 277.8 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01205, allocations: 0 / 277.8 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.01226, allocations: 31.94 kB / 277.8 MB, free: 0.7422 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.0009862/0.01324, allocations: 407.5 kB / 278.2 MB, free: 492 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.01337, allocations: 59.58 kB / 278.2 MB, free: 428 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01337, allocations: 0 / 278.2 MB, free: 428 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.01341, allocations: 31.61 kB / 278.3 MB, free: 392 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.01368, allocations: 61.59 kB / 278.3 MB, free: 332 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.01412, allocations: 367.5 kB / 278.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.358e-05/0.01417, allocations: 87.81 kB / 278.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.249e-05/0.01423, allocations: 21.62 kB / 278.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.594e-05/0.01432, allocations: 110.2 kB / 278.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01432, allocations: 0 / 278.9 MB, free: 15.69 MB / 266.7 MB Notification: Performance of Templates: time 0.005577/0.0199, allocations: 3.3 MB / 282.2 MB, free: 12.45 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9271836527623236]