Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001775/0.001775, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002124/0.002124, allocations: 203.6 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 47.94 kB / 378.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3664, allocations: 53.36 MB / 431.6 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003457/0.3699, allocations: 1.446 MB / 433 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002493/0.3701, allocations: 31.91 kB / 433 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.431e-05/0.3702, allocations: 3.938 kB / 433 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/0.3703, allocations: 3.938 kB / 433.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.481e-05/0.3703, allocations: 4 kB / 433.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.3706, allocations: 27.91 kB / 433.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.611e-05/0.3707, allocations: 27.92 kB / 433.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3708, allocations: 8 kB / 433.1 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.3709, allocations: 11.98 kB / 433.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.3709, allocations: 11.94 kB / 433.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.371, allocations: 4 kB / 433.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.371, allocations: 0 / 433.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.126e-05/0.371, allocations: 23.84 kB / 433.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.371, allocations: 3.938 kB / 433.2 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3711, allocations: 31.7 kB / 433.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3712, allocations: 0 / 433.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3712, allocations: 4 kB / 433.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.3712, allocations: 0 / 433.2 MB, free: 5.102 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005517/0.3717, allocations: 263.8 kB / 433.5 MB, free: 4.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3718, allocations: 8.031 kB / 433.5 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.3718, allocations: 4.938 kB / 433.5 MB, free: 4.805 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.372, allocations: 118.5 kB / 433.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.3721, allocations: 4.375 kB / 433.6 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.3721, allocations: 4.375 kB / 433.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.3725, allocations: 115.8 kB / 433.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.3725, allocations: 4.125 kB / 433.7 MB, free: 4.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3725, allocations: 7.938 kB / 433.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3725, allocations: 3.984 kB / 433.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.3726, allocations: 23.97 kB / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.3727, allocations: 97.33 kB / 433.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.3729, allocations: 50.55 kB / 433.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.124e-05/0.373, allocations: 24.92 kB / 433.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.373, allocations: 0 / 433.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3731, allocations: 38.5 kB / 434 MB, free: 4.234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3731, allocations: 4 kB / 434 MB, free: 4.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002983/0.3734, allocations: 77.56 kB / 434 MB, free: 4.148 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/0.3734, allocations: 55.41 kB / 434.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.3735, allocations: 105.8 kB / 434.2 MB, free: 3.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.3736, allocations: 29.64 kB / 434.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.3736, allocations: 80.14 kB / 434.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.3736, allocations: 3.984 kB / 434.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.3737, allocations: 21.72 kB / 434.3 MB, free: 3.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3738, allocations: 314.8 kB / 434.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.484e-05/0.3738, allocations: 7.938 kB / 434.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.96e-05/0.3739, allocations: 39.36 kB / 434.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.374, allocations: 31.44 kB / 434.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.374, allocations: 0 / 434.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.711e-05/0.3741, allocations: 65.52 kB / 434.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3741, allocations: 4 kB / 434.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.3741, allocations: 4.125 kB / 434.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.3741, allocations: 7.938 kB / 434.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.3742, allocations: 8.375 kB / 434.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3742, allocations: 0 / 434.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.3742, allocations: 7.938 kB / 434.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3742, allocations: 4 kB / 434.8 MB, free: 3.297 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001074/0.3743, allocations: 117.8 kB / 434.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.3745, allocations: 57.69 kB / 435 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.3745, allocations: 11.67 kB / 435 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3745, allocations: 7.938 kB / 435 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3745, allocations: 4 kB / 435 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3745, allocations: 0 / 435 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.902e-05/0.3746, allocations: 97.33 kB / 435.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3746, allocations: 0 / 435.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.3747, allocations: 7.984 kB / 435.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3747, allocations: 0 / 435.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.3747, allocations: 0 / 435.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3747, allocations: 0 / 435.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3747, allocations: 3.938 kB / 435.1 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.3749, allocations: 97.22 kB / 435.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.3749, allocations: 3.938 kB / 435.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.3749, allocations: 12 kB / 435.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.16e-05/0.3749, allocations: 3.984 kB / 435.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-06/0.3749, allocations: 3.938 kB / 435.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.3749, allocations: 4 kB / 435.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.108e-05/0.375, allocations: 79.28 kB / 435.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.375, allocations: 0 / 435.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001982/0.3752, allocations: 8 kB / 435.3 MB, free: 2.719 MB / 334.1 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 0.0001388/0.3753, allocations: 95.25 kB / 435.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001659/0.3755, allocations: 32.09 kB / 435.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.3755, allocations: 4.062 kB / 435.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.3755, allocations: 0 / 435.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.3758, allocations: 23.92 kB / 435.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.3762, allocations: 121.6 kB / 435.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.73e-05/0.3763, allocations: 67.28 kB / 435.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.934e-05/0.3763, allocations: 0 / 435.7 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.3764, allocations: 11.44 kB / 435.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3764, allocations: 0 / 435.7 MB, free: 2.312 MB / 334.1 MB Notification: Performance of Templates: time 0.003595/0.38, allocations: 416.2 kB / 436.1 MB, free: 1.914 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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: 4.640577107202262]