Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008555/0.0008555, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009781/0.0009781, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.03/1.03, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 272.9 MB, free: 1.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.352e-05/3.552e-05, allocations: 5.406 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.00396/0.003995, allocations: 1.971 MB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.006376, allocations: 1.269 MB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.006631, allocations: 7.938 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.007015, allocations: 71.53 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.007423, allocations: 139.3 kB / 276.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.008039, allocations: 231.1 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.008316, allocations: 183.5 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.008456, allocations: 29.72 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.008594, allocations: 107.7 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.008705, allocations: 71.8 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.008726, allocations: 8 kB / 277 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.008868, allocations: 71.94 kB / 277 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.015e-05/0.008948, allocations: 59.77 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.009005, allocations: 43.78 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.009293, allocations: 195.2 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.009298, allocations: 0 / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.0093, allocations: 0 / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.009305, allocations: 0 / 277.3 MB, free: 13.01 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.00059/0.009895, allocations: 0.5749 MB / 277.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.009936, allocations: 15.98 kB / 277.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.716e-05/0.01, allocations: 36.73 kB / 278 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.0103, allocations: 227.6 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.01032, allocations: 384 / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.01034, allocations: 16.31 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.01063, allocations: 168.9 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.01064, allocations: 192 / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.01066, allocations: 8.375 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-06/0.01066, allocations: 3.938 kB / 278.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.404e-05/0.01072, allocations: 27.92 kB / 278.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004335/0.01115, allocations: 0.494 MB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.01132, allocations: 144.5 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.01138, allocations: 58.72 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.0114, allocations: 7.938 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.01152, allocations: 100.3 kB / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.153e-06/0.01152, allocations: 0 / 279.2 MB, free: 10.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002462/0.01177, allocations: 141.4 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.01182, allocations: 132.5 kB / 279.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.01205, allocations: 326.3 kB / 279.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.01207, allocations: 29.7 kB / 279.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.442e-05/0.01215, allocations: 191 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.01218, allocations: 20.22 kB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.01222, allocations: 35.36 kB / 280.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.01234, allocations: 0.5079 MB / 280.6 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.01237, allocations: 11.94 kB / 280.6 MB, free: 9.441 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.689e-05/0.01243, allocations: 80.38 kB / 280.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.794e-05/0.0125, allocations: 59.3 kB / 280.7 MB, free: 9.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0125, allocations: 3.938 kB / 280.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000123/0.01263, allocations: 97.42 kB / 280.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01264, allocations: 14.91 kB / 280.8 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.01265, allocations: 0 / 280.8 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.01266, allocations: 0 / 280.8 MB, free: 9.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.629e-05/0.01275, allocations: 15.98 kB / 280.8 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.01275, allocations: 0 / 280.8 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.881e-05/0.01279, allocations: 4 kB / 280.8 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.0128, allocations: 4 kB / 280.9 MB, free: 9.129 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 0.0001012/0.0129, allocations: 168.5 kB / 281 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.01298, allocations: 81.39 kB / 281.1 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001647/0.01315, allocations: 111.5 kB / 281.2 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.01315, allocations: 0 / 281.2 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.01316, allocations: 7.984 kB / 281.2 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01316, allocations: 0 / 281.2 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.01334, allocations: 188.6 kB / 281.4 MB, free: 8.52 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.01334, allocations: 4 kB / 281.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.01339, allocations: 15.98 kB / 281.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.0134, allocations: 3.938 kB / 281.4 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.01341, allocations: 8 kB / 281.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.01341, allocations: 0 / 281.4 MB, free: 8.488 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.01342, allocations: 8 kB / 281.4 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.01359, allocations: 195.2 kB / 281.6 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.01364, allocations: 43.7 kB / 281.7 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.01366, allocations: 8 kB / 281.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.221e-05/0.01369, allocations: 64 / 281.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.902e-05/0.01374, allocations: 19.98 kB / 281.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.01376, allocations: 4 kB / 281.7 MB, free: 8.18 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.01389, allocations: 227 kB / 281.9 MB, free: 7.961 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01389, allocations: 0 / 281.9 MB, free: 7.961 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.01407, allocations: 35.92 kB / 282 MB, free: 7.926 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.0008061/0.01488, allocations: 398.8 kB / 282.3 MB, free: 7.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.01501, allocations: 71.47 kB / 282.4 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01501, allocations: 0 / 282.4 MB, free: 7.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.046e-05/0.01505, allocations: 27.67 kB / 282.4 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.01532, allocations: 80.16 kB / 282.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.01572, allocations: 361.2 kB / 282.9 MB, free: 7.078 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.676e-05/0.01576, allocations: 83.97 kB / 283 MB, free: 6.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.607e-05/0.01581, allocations: 30 kB / 283 MB, free: 6.945 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.01585, allocations: 20.5 kB / 283 MB, free: 6.926 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01585, allocations: 0 / 283 MB, free: 6.926 MB / 266.7 MB Notification: Performance of Templates: time 0.005123/0.02097, allocations: 3.23 MB / 286.2 MB, free: 3.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.119462937116623]