Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001421/0.001421, allocations: 79.75 kB / 21.18 MB, free: 3.379 MB / 18.57 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.001747/0.001747, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9872/0.9872, allocations: 177.2 MB / 205 MB, free: 5.59 MB / 186.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.IntegerSignals.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.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.894e-05, allocations: 6.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002606/0.002635, allocations: 1.971 MB / 274.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.004087, allocations: 1.266 MB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.00419, allocations: 8 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.004516, allocations: 75.53 kB / 276.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.004843, allocations: 135.3 kB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.005299, allocations: 223.2 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.005505, allocations: 203.4 kB / 276.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.983e-05/0.005605, allocations: 21.73 kB / 276.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.005718, allocations: 103.7 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.993e-05/0.005818, allocations: 79.72 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.005839, allocations: 8 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.005971, allocations: 71.94 kB / 277.1 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.385e-05/0.006045, allocations: 51.78 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.006098, allocations: 47.78 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.006355, allocations: 199.2 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.006357, allocations: 0 / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.006359, allocations: 4 kB / 277.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.006363, allocations: 0 / 277.4 MB, free: 13.05 MB / 266.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.0006104/0.006973, allocations: 0.5672 MB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.007013, allocations: 12.03 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.007073, allocations: 32.69 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.007337, allocations: 227.6 kB / 278.2 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.007358, allocations: 8.375 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.007375, allocations: 8.375 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.007692, allocations: 221 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.007707, allocations: 7.938 kB / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.007719, allocations: 0 / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.007729, allocations: 0 / 278.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.654e-05/0.007785, allocations: 27.92 kB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.008261, allocations: 0.4902 MB / 279 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.008445, allocations: 156.3 kB / 279.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.035e-05/0.008506, allocations: 50.73 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.008535, allocations: 8 kB / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000138/0.008673, allocations: 96.34 kB / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.008674, allocations: 0 / 279.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002733/0.008947, allocations: 145.7 kB / 279.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.009021, allocations: 162.2 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.00925, allocations: 330.3 kB / 279.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.009266, allocations: 25.7 kB / 280 MB, free: 10.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/0.009358, allocations: 187.1 kB / 280.1 MB, free: 10 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.009382, allocations: 23.91 kB / 280.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.00942, allocations: 35.36 kB / 280.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.009555, allocations: 0.5117 MB / 280.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.628e-05/0.009581, allocations: 8 kB / 280.7 MB, free: 9.406 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.935e-05/0.00968, allocations: 113.8 kB / 280.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.126e-05/0.009742, allocations: 63.08 kB / 280.9 MB, free: 9.188 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009744, allocations: 0 / 280.9 MB, free: 9.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000125/0.009869, allocations: 89.48 kB / 281 MB, free: 9.094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.009888, allocations: 8 kB / 281 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.009893, allocations: 0 / 281 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.009912, allocations: 0 / 281 MB, free: 9.086 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.01, allocations: 23.92 kB / 281 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.01001, allocations: 0 / 281 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.878e-05/0.01005, allocations: 8.062 kB / 281 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.01005, allocations: 4 kB / 281 MB, free: 9.051 MB / 266.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 8.057e-05/0.01013, allocations: 169.2 kB / 281.2 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.01019, allocations: 73.45 kB / 281.3 MB, free: 8.797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.01033, allocations: 103.5 kB / 281.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.01034, allocations: 4 kB / 281.4 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.01034, allocations: 0 / 281.4 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01035, allocations: 3.984 kB / 281.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.01048, allocations: 200.8 kB / 281.6 MB, free: 8.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01048, allocations: 4 kB / 281.6 MB, free: 8.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.39e-05/0.01053, allocations: 19.98 kB / 281.6 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01053, allocations: 0 / 281.6 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.01054, allocations: 4 kB / 281.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.01054, allocations: 0 / 281.6 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.01054, allocations: 4 kB / 281.6 MB, free: 8.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.01077, allocations: 207.1 kB / 281.8 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.01082, allocations: 35.83 kB / 281.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.01084, allocations: 8 kB / 281.8 MB, free: 8.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.286e-05/0.01087, allocations: 8 kB / 281.8 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.01092, allocations: 11.98 kB / 281.9 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.01093, allocations: 4 kB / 281.9 MB, free: 8.109 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001186/0.01105, allocations: 227 kB / 282.1 MB, free: 7.891 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01105, allocations: 0 / 282.1 MB, free: 7.891 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.01122, allocations: 39.92 kB / 282.1 MB, free: 7.852 MB / 266.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.0007961/0.01202, allocations: 408.5 kB / 282.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.01215, allocations: 59.58 kB / 282.6 MB, free: 7.527 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01215, allocations: 0 / 282.6 MB, free: 7.527 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.0122, allocations: 35.66 kB / 282.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.01248, allocations: 82.36 kB / 282.7 MB, free: 7.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004701/0.01295, allocations: 365.2 kB / 283 MB, free: 7.016 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.535e-05/0.013, allocations: 87.97 kB / 283.1 MB, free: 6.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.892e-05/0.01305, allocations: 17.48 kB / 283.2 MB, free: 6.891 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.0131, allocations: 24.48 kB / 283.2 MB, free: 6.867 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0131, allocations: 0 / 283.2 MB, free: 6.867 MB / 266.7 MB Notification: Performance of Templates: time 0.005262/0.01836, allocations: 3.122 MB / 286.3 MB, free: 3.789 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.2270500850863755]