Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001389/0.001389, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.002824/0.002824, allocations: 213.7 kB / 24.54 MB, free: 4.016 MB / 14.72 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.772/1.772, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 178] 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.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 59.91 kB / 378.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3596, allocations: 53.37 MB / 432.1 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.004445/0.364, allocations: 1.945 MB / 434.1 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.3667, allocations: 1.25 MB / 435.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.3669, allocations: 7.938 kB / 435.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009081/0.3678, allocations: 155.5 kB / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.3683, allocations: 159.4 kB / 435.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006858/0.369, allocations: 186.9 kB / 435.8 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.3693, allocations: 191.5 kB / 436 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.3695, allocations: 29.78 kB / 436 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.3696, allocations: 83.64 kB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.3698, allocations: 79.61 kB / 436.2 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.3698, allocations: 12 kB / 436.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.37, allocations: 63.95 kB / 436.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.16e-05/0.3701, allocations: 43.78 kB / 436.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.3702, allocations: 79.47 kB / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.3706, allocations: 216.8 kB / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3706, allocations: 0 / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3706, allocations: 7.938 kB / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.3706, allocations: 3.938 kB / 436.6 MB, free: 2.566 MB / 334.1 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.0009148/0.3716, allocations: 458.6 kB / 437.1 MB, free: 2.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.3716, allocations: 16.02 kB / 437.1 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.3717, allocations: 20.8 kB / 437.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.3721, allocations: 213.1 kB / 437.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.3721, allocations: 12.38 kB / 437.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.3721, allocations: 8.375 kB / 437.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.3726, allocations: 167.8 kB / 437.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3726, allocations: 0 / 437.5 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.3726, allocations: 4 kB / 437.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.3726, allocations: 0 / 437.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.3727, allocations: 43.91 kB / 437.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007536/0.3735, allocations: 421.6 kB / 437.9 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.3738, allocations: 130.5 kB / 438.1 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.3739, allocations: 59.42 kB / 438.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.374, allocations: 0 / 438.1 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.3742, allocations: 93.03 kB / 438.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.3742, allocations: 0 / 438.2 MB, free: 0.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004409/0.3746, allocations: 165.4 kB / 438.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.3748, allocations: 158.2 kB / 438.5 MB, free: 400 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.3751, allocations: 277 kB / 438.8 MB, free: 112 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.3751, allocations: 33.7 kB / 438.8 MB, free: 72 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3752, allocations: 116.4 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.3753, allocations: 20.27 kB / 439 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.395e-05/0.3753, allocations: 37.67 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3755, allocations: 334.8 kB / 439.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.3756, allocations: 23.98 kB / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3757, allocations: 82.86 kB / 439.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.3759, allocations: 89.11 kB / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3759, allocations: 0 / 439.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002575/0.3761, allocations: 133.5 kB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.3761, allocations: 4 kB / 439.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3762, allocations: 3.938 kB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.3762, allocations: 4 kB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.676e-05/0.3763, allocations: 15.98 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.3763, allocations: 3.938 kB / 439.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.598e-05/0.3764, allocations: 11.89 kB / 439.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3764, allocations: 8 kB / 439.7 MB, free: 15.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001685/0.3765, allocations: 149.9 kB / 439.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.3766, allocations: 69.48 kB / 439.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.3769, allocations: 107.4 kB / 440 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.3769, allocations: 11.92 kB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3769, allocations: 384 / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.3769, allocations: 0 / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002635/0.3772, allocations: 204.6 kB / 440.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.3772, allocations: 8 kB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.682e-05/0.3772, allocations: 7.938 kB / 440.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3772, allocations: 4.062 kB / 440.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.3772, allocations: 7.984 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3772, allocations: 0 / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3772, allocations: 4 kB / 440.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.3776, allocations: 179.4 kB / 440.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.059e-05/0.3776, allocations: 35.81 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.3777, allocations: 4 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.3777, allocations: 4 kB / 440.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/0.3778, allocations: 11.98 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.3778, allocations: 4 kB / 440.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002428/0.3781, allocations: 200.5 kB / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3781, allocations: 0 / 440.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.3784, allocations: 39.88 kB / 440.7 MB, free: 14 MB / 350.1 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 (11): * Single equations (assignments): 9 * 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.001672/0.38, allocations: 415 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003172/0.3803, allocations: 79.72 kB / 441.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3804, allocations: 0 / 441.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.527e-05/0.3804, allocations: 27.98 kB / 441.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.381, allocations: 73.14 kB / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008356/0.3818, allocations: 341.7 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.3824, allocations: 0.732 MB / 442.4 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.3825, allocations: 29.47 kB / 442.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.3825, allocations: 15.44 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of SimCode: time 1.182e-06/0.3825, allocations: 3.938 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of Templates: time 0.008196/0.3907, allocations: 2.633 MB / 445.1 MB, free: 9.77 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.462432015687227]