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.001333/0.001333, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001175/0.001175, allocations: 166.8 kB / 25.61 MB, free: 8.582 MB / 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.028/1.028, allocations: 177 MB / 205.9 MB, free: 4.465 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.283e-06/1.283e-06, allocations: 0 / 274.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.558e-05, allocations: 5.781 kB / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.007291/0.007317, allocations: 1.948 MB / 276.1 MB, free: 2.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004289/0.01161, allocations: 1.26 MB / 277.3 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.01176, allocations: 7.938 kB / 277.3 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.0121, allocations: 68.22 kB / 277.4 MB, free: 1 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.01252, allocations: 141 kB / 277.5 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007108/0.01323, allocations: 228.3 kB / 277.7 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.0135, allocations: 184.1 kB / 277.9 MB, free: 472 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.0136, allocations: 40.03 kB / 278 MB, free: 432 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.01373, allocations: 107.7 kB / 278.1 MB, free: 324 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.01388, allocations: 71.8 kB / 278.1 MB, free: 252 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.01391, allocations: 8 kB / 278.2 MB, free: 244 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.01413, allocations: 75.88 kB / 278.2 MB, free: 168 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.999e-05/0.01422, allocations: 47.83 kB / 278.3 MB, free: 120 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/0.01429, allocations: 47.78 kB / 278.3 MB, free: 72 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00044/0.01473, allocations: 195.2 kB / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01473, allocations: 0 / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01473, allocations: 0 / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.01474, allocations: 0 / 278.5 MB, free: 15.88 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.000873/0.01561, allocations: 0.5787 MB / 279.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.01566, allocations: 12.03 kB / 279.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.01578, allocations: 32.75 kB / 279.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.01612, allocations: 219.6 kB / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.01615, allocations: 12.38 kB / 279.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.01617, allocations: 4.375 kB / 279.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.01652, allocations: 172.8 kB / 279.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.01654, allocations: 192 / 279.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.01656, allocations: 12.34 kB / 279.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.01656, allocations: 3.938 kB / 279.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.876e-05/0.01662, allocations: 23.92 kB / 279.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.01716, allocations: 450.6 kB / 280 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.01738, allocations: 144.5 kB / 280.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.01744, allocations: 46.73 kB / 280.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.01746, allocations: 4 kB / 280.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.01763, allocations: 100.3 kB / 280.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.01763, allocations: 4 kB / 280.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.000333/0.01796, allocations: 137.3 kB / 280.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.646e-05/0.01805, allocations: 140.5 kB / 280.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.01836, allocations: 318.2 kB / 280.9 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.01839, allocations: 33.7 kB / 280.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.01851, allocations: 183.1 kB / 281.1 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.01854, allocations: 19.78 kB / 281.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.0186, allocations: 39.3 kB / 281.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.0188, allocations: 0.5121 MB / 281.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.825e-05/0.01883, allocations: 8 kB / 281.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.462e-05/0.0189, allocations: 80.36 kB / 281.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.367e-05/0.01899, allocations: 55.25 kB / 281.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01899, allocations: 0 / 281.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001684/0.01916, allocations: 97.41 kB / 281.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.01918, allocations: 4 kB / 281.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.01919, allocations: 4 kB / 281.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.0192, allocations: 4.094 kB / 281.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.01931, allocations: 15.98 kB / 281.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.01932, allocations: 0 / 281.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.093e-05/0.01938, allocations: 4 kB / 281.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.01939, allocations: 4 kB / 281.9 MB, free: 12.09 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.0001117/0.0195, allocations: 164.5 kB / 282.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.01961, allocations: 77.44 kB / 282.2 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.01981, allocations: 103.4 kB / 282.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01982, allocations: 4.062 kB / 282.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.01982, allocations: 4 kB / 282.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.01983, allocations: 3.984 kB / 282.3 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.01998, allocations: 145.2 kB / 282.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.01999, allocations: 3.984 kB / 282.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.448e-05/0.02006, allocations: 16 kB / 282.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.02007, allocations: 0 / 282.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.02008, allocations: 7.984 kB / 282.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.02009, allocations: 3.938 kB / 282.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.02009, allocations: 7.953 kB / 282.5 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.02031, allocations: 175.3 kB / 282.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.0204, allocations: 35.78 kB / 282.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.02043, allocations: 4.062 kB / 282.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.675e-05/0.02052, allocations: 15.92 kB / 282.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.02058, allocations: 7.984 kB / 282.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/0.0206, allocations: 8 kB / 282.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001951/0.02079, allocations: 215 kB / 282.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.0208, allocations: 0 / 282.9 MB, free: 11.02 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003362/0.02113, allocations: 31.94 kB / 282.9 MB, free: 10.99 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.00139/0.02252, allocations: 398.8 kB / 283.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.02269, allocations: 59.58 kB / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.02269, allocations: 4.125 kB / 283.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.02275, allocations: 27.67 kB / 283.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.02312, allocations: 74.91 kB / 283.5 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006925/0.02382, allocations: 357.3 kB / 283.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.885e-05/0.0239, allocations: 91.83 kB / 283.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.984e-05/0.02399, allocations: 29.86 kB / 284 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001539/0.02415, allocations: 114.1 kB / 284.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of SimCode: time 1.572e-06/0.02415, allocations: 0 / 284.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of Templates: time 0.006587/0.03074, allocations: 3.324 MB / 287.4 MB, free: 6.645 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: 2.989429634064436]