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.0009851/0.0009851, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0008897/0.0008897, allocations: 165.9 kB / 25.61 MB, free: 8.906 MB / 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.9871/0.9871, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.483e-06/1.483e-06, allocations: 0 / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.961e-05, allocations: 7.297 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002822/0.002852, allocations: 1.933 MB / 276.1 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.004362, allocations: 1.253 MB / 277.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.004482, allocations: 11.88 kB / 277.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002991/0.004781, allocations: 69.03 kB / 277.5 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.005065, allocations: 136 kB / 277.6 MB, free: 1.008 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.005488, allocations: 229.6 kB / 277.8 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.005689, allocations: 191.4 kB / 278 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.00579, allocations: 33.62 kB / 278 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.005904, allocations: 109.6 kB / 278.1 MB, free: 468 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.811e-05/0.006002, allocations: 71.8 kB / 278.2 MB, free: 396 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.006023, allocations: 8 kB / 278.2 MB, free: 388 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.006145, allocations: 71.94 kB / 278.3 MB, free: 316 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.006212, allocations: 55.77 kB / 278.3 MB, free: 260 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.006258, allocations: 44.33 kB / 278.4 MB, free: 216 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000226/0.006484, allocations: 191.9 kB / 278.6 MB, free: 24 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.006486, allocations: 4 kB / 278.6 MB, free: 20 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006487, allocations: 4 kB / 278.6 MB, free: 16 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.006491, allocations: 4 kB / 278.6 MB, free: 12 kB / 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.0005324/0.007023, allocations: 0.5709 MB / 279.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.007057, allocations: 12.03 kB / 279.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.007107, allocations: 36.75 kB / 279.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.007315, allocations: 215.7 kB / 279.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.007336, allocations: 12.31 kB / 279.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.007347, allocations: 4.375 kB / 279.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.007558, allocations: 176.8 kB / 279.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.007568, allocations: 3.938 kB / 279.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.007578, allocations: 7.984 kB / 279.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.007584, allocations: 0 / 279.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.983e-05/0.007624, allocations: 23.92 kB / 279.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.007949, allocations: 454.6 kB / 280.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001365/0.008085, allocations: 144.5 kB / 280.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.008126, allocations: 50.67 kB / 280.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.008141, allocations: 4 kB / 280.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.008243, allocations: 96.33 kB / 280.4 MB, free: 14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.008244, allocations: 4 kB / 280.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002107/0.008454, allocations: 137.4 kB / 280.5 MB, free: 13.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.008508, allocations: 136.5 kB / 280.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.008693, allocations: 322.2 kB / 281 MB, free: 13.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.008707, allocations: 33.7 kB / 281 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.008789, allocations: 183.1 kB / 281.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.00881, allocations: 19.8 kB / 281.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.008848, allocations: 39.34 kB / 281.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.008975, allocations: 0.504 MB / 281.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/0.008999, allocations: 11.92 kB / 281.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.213e-05/0.009051, allocations: 76.72 kB / 281.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.184e-05/0.009103, allocations: 54.98 kB / 281.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.009105, allocations: 0 / 281.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.951e-05/0.009205, allocations: 97.41 kB / 282 MB, free: 12.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.009216, allocations: 4 kB / 282 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.00922, allocations: 4 kB / 282 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.009229, allocations: 0 / 282 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.482e-05/0.009294, allocations: 16.3 kB / 282 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.009299, allocations: 4.094 kB / 282 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.00934, allocations: 4 kB / 282 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.009348, allocations: 8 kB / 282 MB, free: 12.23 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 9.099e-05/0.009439, allocations: 164.5 kB / 282.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.009498, allocations: 77.44 kB / 282.2 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.009622, allocations: 103.4 kB / 282.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.009624, allocations: 0 / 282.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.009627, allocations: 4 kB / 282.3 MB, free: 11.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.009631, allocations: 4.062 kB / 282.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.01005, allocations: 149.2 kB / 282.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01005, allocations: 0 / 282.5 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.01009, allocations: 19.98 kB / 282.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.0101, allocations: 3.938 kB / 282.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.01011, allocations: 8 kB / 282.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01011, allocations: 3.984 kB / 282.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01011, allocations: 4 kB / 282.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.01023, allocations: 167.2 kB / 282.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.01028, allocations: 35.78 kB / 282.7 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.0103, allocations: 15.94 kB / 282.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.01034, allocations: 3.984 kB / 282.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.01037, allocations: 11.98 kB / 282.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.01039, allocations: 4 kB / 282.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.01049, allocations: 222.9 kB / 283 MB, free: 11.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01049, allocations: 0 / 283 MB, free: 11.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001771/0.01067, allocations: 27.94 kB / 283 MB, free: 11.14 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.0007809/0.01145, allocations: 411.9 kB / 283.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001053/0.01155, allocations: 47.59 kB / 283.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01155, allocations: 0 / 283.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.01159, allocations: 31.66 kB / 283.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.01185, allocations: 97.17 kB / 283.6 MB, free: 10.69 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.01224, allocations: 349.3 kB / 283.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.01228, allocations: 87.83 kB / 284 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.436e-05/0.01233, allocations: 21.47 kB / 284 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/0.01242, allocations: 106.2 kB / 284.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01242, allocations: 4.188 kB / 284.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of Templates: time 0.00485/0.01727, allocations: 3.337 MB / 287.5 MB, free: 6.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: 2.6996910530142486]