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.001399/0.001399, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 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.00143/0.00143, allocations: 159.4 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9832/0.9832, allocations: 177 MB / 205.9 MB, free: 4.406 MB / 186.7 MB " [Timeout remaining time 179] 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 1.363e-06/1.363e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.851e-05, allocations: 2.312 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003023/0.003051, allocations: 1.484 MB / 275.6 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001893/0.003241, allocations: 37.25 kB / 275.6 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.003304, allocations: 4 kB / 275.6 MB, free: 2.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.003331, allocations: 3.938 kB / 275.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.003367, allocations: 2.719 kB / 275.6 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.003591, allocations: 23.86 kB / 275.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.619e-05/0.003667, allocations: 31.91 kB / 275.7 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.137e-05/0.003738, allocations: 4 kB / 275.7 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.964e-05/0.003788, allocations: 15.98 kB / 275.7 MB, free: 2.672 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.261e-05/0.003821, allocations: 7.984 kB / 275.7 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.003838, allocations: 4 kB / 275.7 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.003852, allocations: 4 kB / 275.7 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.003875, allocations: 12.86 kB / 275.7 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.003894, allocations: 4 kB / 275.7 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.279e-05/0.003976, allocations: 24.5 kB / 275.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.003979, allocations: 0 / 275.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.00398, allocations: 1.812 kB / 275.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.003984, allocations: 0 / 275.8 MB, free: 2.617 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.0003963/0.00438, allocations: 368.6 kB / 276.1 MB, free: 2.219 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.004422, allocations: 8.031 kB / 276.1 MB, free: 2.211 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.004462, allocations: 5.656 kB / 276.1 MB, free: 2.207 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.004638, allocations: 124.6 kB / 276.3 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.004659, allocations: 5.25 kB / 276.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.004669, allocations: 4.375 kB / 276.3 MB, free: 2.051 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.004922, allocations: 103.6 kB / 276.4 MB, free: 1.934 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.004932, allocations: 192 / 276.4 MB, free: 1.934 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.004939, allocations: 1.125 kB / 276.4 MB, free: 1.934 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.004948, allocations: 4.375 kB / 276.4 MB, free: 1.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.846e-05/0.004976, allocations: 11.92 kB / 276.4 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001324/0.005109, allocations: 101.2 kB / 276.5 MB, free: 1.793 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.455e-05/0.005193, allocations: 46.97 kB / 276.5 MB, free: 1.734 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.005225, allocations: 11.72 kB / 276.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-06/0.005233, allocations: 0 / 276.6 MB, free: 1.719 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.005266, allocations: 41.39 kB / 276.6 MB, free: 1.668 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.005267, allocations: 0 / 276.6 MB, free: 1.668 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001457/0.005413, allocations: 41.73 kB / 276.6 MB, free: 1.621 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.005473, allocations: 67.34 kB / 276.7 MB, free: 1.543 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.005574, allocations: 157.9 kB / 276.9 MB, free: 1.371 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.005593, allocations: 29.7 kB / 276.9 MB, free: 1.336 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.005653, allocations: 134.9 kB / 277 MB, free: 1.199 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.005669, allocations: 3.984 kB / 277 MB, free: 1.195 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.005716, allocations: 19.38 kB / 277 MB, free: 1.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.005884, allocations: 0.4883 MB / 277.5 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-06/0.005894, allocations: 3.938 kB / 277.5 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-06/0.005902, allocations: 4 kB / 277.5 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.746e-05/0.00593, allocations: 15.67 kB / 277.5 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.005932, allocations: 256 / 277.5 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.455e-05/0.006006, allocations: 41.75 kB / 277.6 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.00602, allocations: 4 kB / 277.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.006026, allocations: 7.938 kB / 277.6 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.006035, allocations: 0 / 277.6 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.924e-05/0.006074, allocations: 4 kB / 277.6 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.006077, allocations: 0 / 277.6 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.00609, allocations: 0 / 277.6 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.006095, allocations: 3.938 kB / 277.6 MB, free: 0.5742 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 8.311e-05/0.006178, allocations: 160.6 kB / 277.8 MB, free: 416 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.704e-05/0.006245, allocations: 49.81 kB / 277.8 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.00627, allocations: 11.72 kB / 277.8 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.006273, allocations: 0 / 277.8 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006274, allocations: 0 / 277.8 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.006278, allocations: 3.984 kB / 277.8 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.947e-05/0.006358, allocations: 97.2 kB / 277.9 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006359, allocations: 0 / 277.9 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.711e-05/0.006397, allocations: 4 kB / 277.9 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.006399, allocations: 3.938 kB / 277.9 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.006406, allocations: 0 / 277.9 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.006407, allocations: 0 / 277.9 MB, free: 208 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.006411, allocations: 3.984 kB / 277.9 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.742e-05/0.006478, allocations: 72.39 kB / 278 MB, free: 108 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.006488, allocations: 7.953 kB / 278 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.006504, allocations: 4 kB / 278 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.976e-05/0.006534, allocations: 4 kB / 278 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-06/0.006537, allocations: 0 / 278 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.006542, allocations: 3.984 kB / 278 MB, free: 88 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.941e-05/0.006612, allocations: 123.2 kB / 278.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006612, allocations: 3.938 kB / 278.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002148/0.006827, allocations: 4 kB / 278.2 MB, free: 15.96 MB / 266.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 0.000111/0.006938, allocations: 103.2 kB / 278.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.812e-05/0.007016, allocations: 19.61 kB / 278.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007017, allocations: 0 / 278.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.007019, allocations: 4 kB / 278.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.00719, allocations: 13.38 kB / 278.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/0.007433, allocations: 109 kB / 278.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.782e-05/0.007471, allocations: 63.2 kB / 278.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.568e-05/0.007487, allocations: 0 / 278.5 MB, free: 15.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.007587, allocations: 70.2 kB / 278.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007587, allocations: 4.062 kB / 278.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of Templates: time 0.002494/0.01008, allocations: 414.5 kB / 278.9 MB, free: 15.12 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",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.7827151878736913]