Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001879/0.001879, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002409/0.002409, allocations: 217 kB / 24.5 MB, free: 4.133 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.524/1.524, allocations: 230.5 MB / 258.1 MB, free: 8.023 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 59.89 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2446, allocations: 53.41 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002843/0.2474, allocations: 1.43 MB / 433.9 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001998/0.2476, allocations: 35.91 kB / 433.9 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.47e-05/0.2477, allocations: 7.875 kB / 433.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.2477, allocations: 0 / 433.9 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.2477, allocations: 3.938 kB / 433.9 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.248, allocations: 27.91 kB / 433.9 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.505e-05/0.2481, allocations: 27.92 kB / 434 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.2482, allocations: 15.97 kB / 434 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.369e-05/0.2482, allocations: 15.92 kB / 434 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.2483, allocations: 15.92 kB / 434 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.2483, allocations: 4 kB / 434 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.325e-06/0.2483, allocations: 4 kB / 434 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.2483, allocations: 0 / 434 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.2484, allocations: 11.94 kB / 434 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.2485, allocations: 39.62 kB / 434.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2485, allocations: 0 / 434.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2485, allocations: 0 / 434.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.2485, allocations: 0 / 434.1 MB, free: 5.125 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.00044/0.2489, allocations: 259.8 kB / 434.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.249, allocations: 12.03 kB / 434.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.249, allocations: 8.938 kB / 434.3 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.2492, allocations: 122.4 kB / 434.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2492, allocations: 384 / 434.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.2492, allocations: 8.375 kB / 434.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.2496, allocations: 115.8 kB / 434.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2496, allocations: 192 / 434.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2496, allocations: 7.938 kB / 434.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.2496, allocations: 0 / 434.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.2497, allocations: 19.97 kB / 434.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.2498, allocations: 128.8 kB / 434.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.25, allocations: 50.48 kB / 434.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.118e-05/0.2501, allocations: 28.92 kB / 434.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.2501, allocations: 0 / 434.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.2501, allocations: 34.56 kB / 434.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2501, allocations: 0 / 434.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000265/0.2504, allocations: 77.56 kB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.2504, allocations: 59.33 kB / 435 MB, free: 4.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.2505, allocations: 105.9 kB / 435.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2505, allocations: 25.7 kB / 435.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.512e-05/0.2506, allocations: 84.14 kB / 435.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.2506, allocations: 11.92 kB / 435.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.2506, allocations: 21.72 kB / 435.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2508, allocations: 310.8 kB / 435.5 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.2508, allocations: 11.94 kB / 435.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.2508, allocations: 27.42 kB / 435.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.229e-05/0.2509, allocations: 39.38 kB / 435.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2509, allocations: 0 / 435.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000101/0.251, allocations: 65.58 kB / 435.7 MB, free: 3.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.251, allocations: 4 kB / 435.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.251, allocations: 3.938 kB / 435.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.251, allocations: 4 kB / 435.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.139e-05/0.2511, allocations: 8.062 kB / 435.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2511, allocations: 4 kB / 435.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.2511, allocations: 7.938 kB / 435.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.2511, allocations: 0 / 435.7 MB, free: 3.281 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 8.308e-05/0.2512, allocations: 117.8 kB / 435.8 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.2513, allocations: 53.69 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.2513, allocations: 15.84 kB / 435.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2513, allocations: 3.984 kB / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2514, allocations: 0 / 435.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2514, allocations: 4 kB / 435.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.645e-05/0.2515, allocations: 132.7 kB / 436 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2515, allocations: 0 / 436 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/0.2515, allocations: 3.984 kB / 436 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2515, allocations: 4 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.2515, allocations: 3.938 kB / 436 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2515, allocations: 0 / 436 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2515, allocations: 0 / 436 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.2517, allocations: 85.06 kB / 436.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.2517, allocations: 8 kB / 436.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.2517, allocations: 8.312 kB / 436.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.872e-05/0.2517, allocations: 11.92 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-06/0.2517, allocations: 4 kB / 436.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.2517, allocations: 0 / 436.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.2518, allocations: 79.28 kB / 436.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2518, allocations: 0 / 436.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001974/0.252, allocations: 8 kB / 436.2 MB, free: 2.668 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.0001051/0.2521, allocations: 103.2 kB / 436.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.2522, allocations: 23.98 kB / 436.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2522, allocations: 0 / 436.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.2522, allocations: 0 / 436.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.2525, allocations: 34.64 kB / 436.4 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.2528, allocations: 147.3 kB / 436.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.2531, allocations: 0.6809 MB / 437.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.434e-05/0.2531, allocations: 11.44 kB / 437.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2531, allocations: 0 / 437.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of Templates: time 0.002083/0.2552, allocations: 0.5935 MB / 437.8 MB, free: 1.016 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.717628370970488]