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.001415/0.001415, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001667/0.001667, allocations: 210.7 kB / 24.48 MB, free: 3.977 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 2.134/2.134, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.002044/0.002044, allocations: 51.92 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3429, allocations: 53.37 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003782/0.3467, allocations: 1.438 MB / 433.8 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002607/0.3469, allocations: 35.91 kB / 433.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.146e-05/0.347, allocations: 0 / 433.8 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.339e-05/0.3471, allocations: 3.938 kB / 433.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.636e-05/0.3471, allocations: 7.875 kB / 433.8 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.3474, allocations: 23.97 kB / 433.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3475, allocations: 27.92 kB / 433.9 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3476, allocations: 11.78 kB / 433.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.513e-05/0.3477, allocations: 8 kB / 433.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.3477, allocations: 19.92 kB / 433.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.3478, allocations: 7.984 kB / 433.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.3478, allocations: 7.938 kB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.3478, allocations: 3.938 kB / 433.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.622e-05/0.3478, allocations: 11.94 kB / 433.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.3479, allocations: 27.89 kB / 434 MB, free: 5.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.348, allocations: 0 / 434 MB, free: 5.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.348, allocations: 4 kB / 434 MB, free: 5.117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.348, allocations: 0 / 434 MB, free: 5.117 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.0005658/0.3485, allocations: 257.2 kB / 434.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3486, allocations: 8.031 kB / 434.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.3486, allocations: 8.938 kB / 434.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.3489, allocations: 126.5 kB / 434.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.3489, allocations: 384 / 434.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.349, allocations: 4.375 kB / 434.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.3494, allocations: 111.8 kB / 434.5 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.3494, allocations: 4.188 kB / 434.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3494, allocations: 3.938 kB / 434.5 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3495, allocations: 3.984 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.3496, allocations: 23.98 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.3498, allocations: 105.3 kB / 434.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.3499, allocations: 46.56 kB / 434.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.076e-05/0.35, allocations: 20.92 kB / 434.7 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3501, allocations: 4 kB / 434.7 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.3501, allocations: 34.5 kB / 434.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.3501, allocations: 0 / 434.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003378/0.3504, allocations: 81.55 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.3505, allocations: 55.41 kB / 434.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.3506, allocations: 106 kB / 434.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.3507, allocations: 29.7 kB / 435 MB, free: 3.957 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.3507, allocations: 88.12 kB / 435.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.3507, allocations: 0 / 435.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.3508, allocations: 17.72 kB / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3509, allocations: 314.8 kB / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.071e-05/0.351, allocations: 7.984 kB / 435.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.948e-05/0.351, allocations: 39.44 kB / 435.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.055e-05/0.3511, allocations: 39.38 kB / 435.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3511, allocations: 0 / 435.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001286/0.3512, allocations: 65.52 kB / 435.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3512, allocations: 4 kB / 435.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3512, allocations: 0 / 435.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.3513, allocations: 7.938 kB / 435.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.102e-05/0.3513, allocations: 7.984 kB / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3513, allocations: 0 / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.637e-05/0.3514, allocations: 7.938 kB / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.3514, allocations: 12.11 kB / 435.6 MB, free: 3.309 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.0001172/0.3515, allocations: 113.8 kB / 435.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.3517, allocations: 65.84 kB / 435.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.3517, allocations: 3.688 kB / 435.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3517, allocations: 3.938 kB / 435.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3517, allocations: 0 / 435.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3517, allocations: 0 / 435.8 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.3519, allocations: 105.3 kB / 435.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3519, allocations: 0 / 435.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.3519, allocations: 4 kB / 435.9 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3519, allocations: 4 kB / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3519, allocations: 0 / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3519, allocations: 0 / 435.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3519, allocations: 7.938 kB / 435.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002076/0.3521, allocations: 92.94 kB / 436 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.3521, allocations: 7.984 kB / 436 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3521, allocations: 4 kB / 436 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.043e-05/0.3522, allocations: 4 kB / 436 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-06/0.3522, allocations: 3.938 kB / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3522, allocations: 0 / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.231e-05/0.3523, allocations: 83.41 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3523, allocations: 4 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.3525, allocations: 8 kB / 436.1 MB, free: 2.734 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.0001256/0.3526, allocations: 99.23 kB / 436.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.3528, allocations: 27.92 kB / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3528, allocations: 0 / 436.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.647e-06/0.3528, allocations: 4 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.3531, allocations: 20.02 kB / 436.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.3535, allocations: 121.8 kB / 436.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.729e-05/0.3535, allocations: 71.28 kB / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.8e-05/0.3536, allocations: 4 kB / 436.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.3536, allocations: 7.438 kB / 436.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3536, allocations: 0 / 436.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of Templates: time 0.003031/0.3566, allocations: 416.5 kB / 436.8 MB, free: 1.93 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/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: 6.2265799489978235]