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.001032/0.001032, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001085/0.001085, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 1.047/1.047, allocations: 177 MB / 204.8 MB, free: 5.582 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 2.164e-06/2.164e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.719e-05/3.935e-05, allocations: 6.25 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00236/0.0024, allocations: 1.482 MB / 274.4 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002335/0.002633, allocations: 31.91 kB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.002701, allocations: 3.938 kB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.231e-05/0.002743, allocations: 3.984 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.731e-05/0.0028, allocations: 7.938 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.003101, allocations: 19.97 kB / 274.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.889e-05/0.0032, allocations: 27.94 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.00331, allocations: 11.98 kB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.108e-05/0.003372, allocations: 15.97 kB / 274.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.081e-05/0.003412, allocations: 7.938 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.00344, allocations: 4 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.003448, allocations: 0 / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.00347, allocations: 11.98 kB / 274.5 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.003505, allocations: 8 kB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.003608, allocations: 23.84 kB / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.00361, allocations: 0 / 274.6 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003611, allocations: 3.938 kB / 274.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.003617, allocations: 4 kB / 274.6 MB, free: 15.77 MB / 266.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.0003795/0.003996, allocations: 364.6 kB / 274.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.004038, allocations: 15.98 kB / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.004087, allocations: 8.891 kB / 275 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.004249, allocations: 120.5 kB / 275.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.004272, allocations: 4.375 kB / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.004281, allocations: 384 / 275.1 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.004525, allocations: 114.2 kB / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.004534, allocations: 4.188 kB / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.004544, allocations: 384 / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.004552, allocations: 384 / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.369e-05/0.004586, allocations: 15.88 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001081/0.004694, allocations: 112.6 kB / 275.3 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.11e-05/0.004775, allocations: 47.03 kB / 275.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.004809, allocations: 15.72 kB / 275.4 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.004818, allocations: 7.938 kB / 275.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.004843, allocations: 33.39 kB / 275.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.004845, allocations: 0 / 275.4 MB, free: 14.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001644/0.005009, allocations: 61.62 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.00506, allocations: 51.41 kB / 275.5 MB, free: 14.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/0.005144, allocations: 169.9 kB / 275.7 MB, free: 14.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.005158, allocations: 25.7 kB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/0.005199, allocations: 130.9 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.005213, allocations: 4 kB / 275.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.718e-05/0.00524, allocations: 19.36 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.005368, allocations: 0.4884 MB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.00538, allocations: 0 / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.005387, allocations: 0 / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.005414, allocations: 19.69 kB / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.005416, allocations: 0 / 276.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.38e-05/0.00547, allocations: 41.69 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.005486, allocations: 11.12 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.005493, allocations: 0 / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.005506, allocations: 0 / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.005567, allocations: 4 kB / 276.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.005573, allocations: 0 / 276.4 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.361e-05/0.005587, allocations: 7.891 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.005591, allocations: 0 / 276.4 MB, free: 13.68 MB / 266.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.56e-05/0.005676, allocations: 160.6 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.377e-05/0.00575, allocations: 49.88 kB / 276.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.00578, allocations: 7.688 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.005784, allocations: 0 / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.005789, allocations: 4 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.005794, allocations: 3.938 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.592e-05/0.00587, allocations: 112.6 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.005872, allocations: 3.938 kB / 276.8 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.00592, allocations: 4 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.005923, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.005932, allocations: 7.984 kB / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.005934, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.005934, allocations: 0 / 276.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.006038, allocations: 92.31 kB / 276.9 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.006052, allocations: 11.95 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.006066, allocations: 0 / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.959e-05/0.006086, allocations: 4.281 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-06/0.006089, allocations: 0 / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.006093, allocations: 0 / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.189e-05/0.006135, allocations: 131.2 kB / 277 MB, free: 13.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006135, allocations: 0 / 277 MB, free: 13.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000114/0.006249, allocations: 8 kB / 277 MB, free: 13.02 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 9.799e-05/0.006347, allocations: 103.2 kB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.546e-05/0.006433, allocations: 15.67 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.006434, allocations: 4 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.006435, allocations: 0 / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.006602, allocations: 22.17 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.006852, allocations: 116.9 kB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.32e-05/0.006885, allocations: 55.34 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.488e-05/0.0069, allocations: 8.062 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.006929, allocations: 8.5 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.00693, allocations: 0 / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of Templates: time 0.002135/0.009065, allocations: 387.4 kB / 277.7 MB, free: 12.25 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.7472870186902583]