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.001892/0.001892, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002344/0.002344, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.665/1.665, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.001642/0.001642, allocations: 47.92 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3422, allocations: 53.37 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002932/0.3451, allocations: 1.448 MB / 433.1 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002378/0.3454, allocations: 23.92 kB / 433.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.3455, allocations: 4 kB / 433.1 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.3455, allocations: 3.938 kB / 433.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.611e-05/0.3455, allocations: 7.922 kB / 433.1 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.3458, allocations: 19.98 kB / 433.1 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.3459, allocations: 23.92 kB / 433.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.3461, allocations: 15.97 kB / 433.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.419e-05/0.3461, allocations: 11.94 kB / 433.2 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.3462, allocations: 19.92 kB / 433.2 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3462, allocations: 4 kB / 433.2 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.3462, allocations: 0 / 433.2 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.3462, allocations: 8 kB / 433.2 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.3463, allocations: 15.88 kB / 433.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001036/0.3464, allocations: 27.69 kB / 433.3 MB, free: 5.293 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.3464, allocations: 3.984 kB / 433.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3464, allocations: 0 / 433.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3464, allocations: 0 / 433.3 MB, free: 5.289 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.0004616/0.3468, allocations: 263.8 kB / 433.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.3469, allocations: 12.03 kB / 433.5 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.3469, allocations: 4.938 kB / 433.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.3471, allocations: 118.5 kB / 433.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.3472, allocations: 8.312 kB / 433.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.3472, allocations: 384 / 433.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.3475, allocations: 119.8 kB / 433.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3475, allocations: 4.188 kB / 433.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3475, allocations: 3.938 kB / 433.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3476, allocations: 0 / 433.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.3477, allocations: 23.97 kB / 433.8 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.3478, allocations: 124.8 kB / 433.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.348, allocations: 50.55 kB / 434 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.56e-05/0.348, allocations: 28.86 kB / 434 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.3481, allocations: 4 kB / 434 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.3481, allocations: 30.56 kB / 434 MB, free: 4.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.3481, allocations: 0 / 434 MB, free: 4.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002612/0.3484, allocations: 77.56 kB / 434.1 MB, free: 4.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/0.3484, allocations: 59.39 kB / 434.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.3485, allocations: 105.8 kB / 434.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3486, allocations: 29.7 kB / 434.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.3486, allocations: 80.14 kB / 434.4 MB, free: 4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.3486, allocations: 7.984 kB / 434.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.3487, allocations: 21.66 kB / 434.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3488, allocations: 314.8 kB / 434.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.3488, allocations: 4 kB / 434.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.986e-05/0.3489, allocations: 35.67 kB / 434.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.443e-05/0.3489, allocations: 39.38 kB / 434.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.3489, allocations: 4 kB / 434.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001134/0.349, allocations: 57.58 kB / 434.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3491, allocations: 8 kB / 434.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3491, allocations: 3.938 kB / 434.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3491, allocations: 4.125 kB / 434.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.3491, allocations: 4.188 kB / 434.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.3492, allocations: 4 kB / 434.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.3492, allocations: 11.88 kB / 434.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.3492, allocations: 0 / 434.9 MB, free: 3.445 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 9.22e-05/0.3493, allocations: 117.8 kB / 435 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.3494, allocations: 57.69 kB / 435.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.3494, allocations: 11.61 kB / 435.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3494, allocations: 4 kB / 435.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3495, allocations: 4 kB / 435.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3495, allocations: 3.938 kB / 435.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.3496, allocations: 124.8 kB / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3496, allocations: 0 / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.399e-05/0.3496, allocations: 7.984 kB / 435.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3496, allocations: 0 / 435.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3496, allocations: 7.938 kB / 435.2 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3496, allocations: 3.938 kB / 435.2 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3496, allocations: 3.938 kB / 435.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.3498, allocations: 93.06 kB / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-06/0.3498, allocations: 0 / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.3499, allocations: 7.938 kB / 435.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.981e-05/0.3499, allocations: 3.984 kB / 435.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-06/0.3499, allocations: 0 / 435.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.3499, allocations: 4 kB / 435.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.388e-05/0.35, allocations: 87.41 kB / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.35, allocations: 0 / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001942/0.3501, allocations: 4 kB / 435.4 MB, free: 2.828 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.000133/0.3503, allocations: 99.25 kB / 435.5 MB, free: 2.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.3504, allocations: 31.91 kB / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3504, allocations: 0 / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.3504, allocations: 0 / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.3507, allocations: 20 kB / 435.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.351, allocations: 121.5 kB / 435.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.3514, allocations: 0.6886 MB / 436.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.457e-05/0.3514, allocations: 0 / 436.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.3514, allocations: 11.44 kB / 436.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3514, allocations: 0 / 436.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of Templates: time 0.002932/0.3544, allocations: 404.7 kB / 436.8 MB, free: 1.406 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.945516820065677]