Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 140.3 kB / 24.89 MB, free: 9.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.045/1.045, allocations: 173.3 MB / 201.5 MB, free: 9.164 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 268.5 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.761e-05/1.944e-05, allocations: 2.312 kB / 268.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001951/0.00197, allocations: 1.515 MB / 270 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001685/0.002139, allocations: 35.84 kB / 270.1 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.708e-05/0.002196, allocations: 0 / 270.1 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.00222, allocations: 3.938 kB / 270.1 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.338e-05/0.002254, allocations: 0 / 270.1 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.002449, allocations: 27.97 kB / 270.1 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.929e-05/0.002518, allocations: 27.92 kB / 270.1 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.201e-05/0.00259, allocations: 7.984 kB / 270.1 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.355e-05/0.002644, allocations: 19.92 kB / 270.1 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.239e-05/0.002676, allocations: 7.984 kB / 270.1 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.002692, allocations: 4 kB / 270.1 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.091e-06/0.002698, allocations: 3.938 kB / 270.2 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.002716, allocations: 11.94 kB / 270.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.002731, allocations: 4 kB / 270.2 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.973e-05/0.002801, allocations: 23.91 kB / 270.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002803, allocations: 0 / 270.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.002803, allocations: 4 kB / 270.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.002807, allocations: 0 / 270.2 MB, free: 4.418 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002303/0.003037, allocations: 244.9 kB / 270.4 MB, free: 4.152 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.003068, allocations: 12.03 kB / 270.4 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.079e-05/0.003089, allocations: 0.9375 kB / 270.4 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.003207, allocations: 121.7 kB / 270.6 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.00322, allocations: 4.375 kB / 270.6 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-06/0.003226, allocations: 384 / 270.6 MB, free: 3.992 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.003381, allocations: 112.5 kB / 270.7 MB, free: 3.867 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.003387, allocations: 192 / 270.7 MB, free: 3.867 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.003393, allocations: 384 / 270.7 MB, free: 3.867 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.003397, allocations: 384 / 270.7 MB, free: 3.867 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.703e-05/0.003414, allocations: 7.938 kB / 270.7 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.534e-05/0.003469, allocations: 61.05 kB / 270.7 MB, free: 3.785 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/0.003515, allocations: 30.56 kB / 270.8 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.003531, allocations: 8.859 kB / 270.8 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.003538, allocations: 3.984 kB / 270.8 MB, free: 3.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.003557, allocations: 38.5 kB / 270.8 MB, free: 3.684 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.003558, allocations: 4 kB / 270.8 MB, free: 3.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 7.821e-05/0.003636, allocations: 41.69 kB / 270.9 MB, free: 3.633 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.003675, allocations: 63.34 kB / 270.9 MB, free: 3.559 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.583e-05/0.003721, allocations: 106.7 kB / 271 MB, free: 3.441 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.197e-06/0.00373, allocations: 25.7 kB / 271.1 MB, free: 3.41 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.003986, allocations: 80.14 kB / 271.1 MB, free: 3.328 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.018e-05/0.003996, allocations: 7.984 kB / 271.2 MB, free: 3.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.004016, allocations: 13.7 kB / 271.2 MB, free: 3.301 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.004087, allocations: 318.8 kB / 271.5 MB, free: 2.98 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-06/0.004091, allocations: 0 / 271.5 MB, free: 2.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-06/0.004098, allocations: 11.94 kB / 271.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.697e-05/0.004115, allocations: 8.859 kB / 271.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.004116, allocations: 0 / 271.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.789e-05/0.004154, allocations: 37.69 kB / 271.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.004165, allocations: 6.969 kB / 271.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.004169, allocations: 3.938 kB / 271.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.004177, allocations: 4 kB / 271.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.297e-05/0.00421, allocations: 0 / 271.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.004212, allocations: 0 / 271.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.015e-06/0.004221, allocations: 8.344 kB / 271.6 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-06/0.004223, allocations: 0 / 271.6 MB, free: 2.895 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.489e-05/0.004278, allocations: 121.7 kB / 271.7 MB, free: 2.766 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.004308, allocations: 37.7 kB / 271.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/0.004326, allocations: 11.67 kB / 271.7 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.004327, allocations: 0 / 271.7 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.004328, allocations: 0 / 271.7 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.00433, allocations: 0 / 271.7 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.304e-05/0.004373, allocations: 69.83 kB / 271.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004374, allocations: 0 / 271.8 MB, free: 2.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.004394, allocations: 7.984 kB / 271.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.004396, allocations: 4 kB / 271.8 MB, free: 2.613 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-06/0.0044, allocations: 0 / 271.8 MB, free: 2.613 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.0044, allocations: 0 / 271.8 MB, free: 2.613 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.004401, allocations: 4 kB / 271.8 MB, free: 2.609 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.407e-05/0.004435, allocations: 57.02 kB / 271.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.004441, allocations: 3.953 kB / 271.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.004453, allocations: 7.984 kB / 271.9 MB, free: 2.523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.178e-05/0.004465, allocations: 4 kB / 271.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-06/0.004468, allocations: 0 / 271.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.00447, allocations: 0 / 271.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.759e-06/0.00448, allocations: 8.859 kB / 271.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00448, allocations: 4 kB / 271.9 MB, free: 2.504 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.785e-05/0.004568, allocations: 4 kB / 271.9 MB, free: 2.5 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 7.703e-05/0.004645, allocations: 80.41 kB / 272 MB, free: 2.41 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.368e-05/0.004698, allocations: 16.86 kB / 272 MB, free: 2.391 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.004701, allocations: 0 / 272 MB, free: 2.391 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.004702, allocations: 3.938 kB / 272 MB, free: 2.387 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.333e-05/0.004796, allocations: 21.31 kB / 272 MB, free: 2.363 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000179/0.004975, allocations: 111.3 kB / 272.1 MB, free: 2.23 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.663e-05/0.005001, allocations: 59.36 kB / 272.2 MB, free: 2.152 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.315e-05/0.005014, allocations: 0 / 272.2 MB, free: 2.152 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.158e-05/0.005046, allocations: 51.38 kB / 272.2 MB, free: 2.102 MB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.005047, allocations: 0 / 272.2 MB, free: 2.102 MB / 250.7 MB Notification: Performance of Templates: time 0.001625/0.006671, allocations: 409.8 kB / 272.6 MB, free: 1.703 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.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.4316776269115508]