Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001571/0.00157, allocations: 109.7 kB / 18.45 MB, free: 4.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002022/0.002022, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.74/1.74, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6638/0.6658, allocations: 50.54 MB / 409.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.004269/0.6701, allocations: 1.444 MB / 411.4 MB, free: 200 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003457/0.6705, allocations: 31.84 kB / 411.4 MB, free: 168 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.6707, allocations: 4 kB / 411.4 MB, free: 164 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.942e-05/0.6707, allocations: 3.938 kB / 411.4 MB, free: 160 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.6708, allocations: 3.938 kB / 411.4 MB, free: 156 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.6713, allocations: 23.97 kB / 411.4 MB, free: 132 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.6715, allocations: 23.92 kB / 411.4 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.6717, allocations: 12 kB / 411.5 MB, free: 96 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.817e-05/0.6717, allocations: 19.91 kB / 411.5 MB, free: 76 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.636e-05/0.6718, allocations: 11.94 kB / 411.5 MB, free: 64 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.6719, allocations: 0 / 411.5 MB, free: 64 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.6719, allocations: 4 kB / 411.5 MB, free: 60 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.6719, allocations: 7.984 kB / 411.5 MB, free: 52 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.768e-05/0.672, allocations: 15.88 kB / 411.5 MB, free: 36 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.6721, allocations: 31.89 kB / 411.5 MB, free: 4 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.6722, allocations: 0 / 411.5 MB, free: 4 kB / 318.1 MB Notification: Performance of FrontEnd: time 6.783e-06/0.6722, allocations: 3.984 kB / 411.5 MB, free: 0 / 318.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.6722, allocations: 4.047 kB / 411.6 MB, free: 15.99 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.0007873/0.673, allocations: 343.3 kB / 411.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.386e-05/0.6731, allocations: 12.02 kB / 411.9 MB, free: 15.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.6732, allocations: 4.938 kB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.6736, allocations: 176.3 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.6736, allocations: 384 / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.6736, allocations: 8.312 kB / 412.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005119/0.6741, allocations: 123.8 kB / 412.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.6742, allocations: 4.125 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.6742, allocations: 3.938 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.6742, allocations: 0 / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.6744, allocations: 31.91 kB / 412.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.6746, allocations: 157.7 kB / 412.4 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.6749, allocations: 58.55 kB / 412.5 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.675, allocations: 24.92 kB / 412.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.675, allocations: 3.938 kB / 412.5 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.6751, allocations: 30.56 kB / 412.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.974e-06/0.6751, allocations: 0 / 412.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004263/0.6755, allocations: 85.5 kB / 412.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/0.6756, allocations: 59.41 kB / 412.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.6758, allocations: 109.8 kB / 412.8 MB, free: 14.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.6758, allocations: 25.7 kB / 412.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.6759, allocations: 84.14 kB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.6759, allocations: 0 / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.6759, allocations: 21.7 kB / 412.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.6761, allocations: 314.8 kB / 413.2 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.6761, allocations: 7.938 kB / 413.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.55e-05/0.6762, allocations: 35.42 kB / 413.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.376e-05/0.6763, allocations: 35.38 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6763, allocations: 384 / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001182/0.6764, allocations: 61.62 kB / 413.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.6764, allocations: 14.84 kB / 413.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.6765, allocations: 3.938 kB / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.6765, allocations: 0 / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.034e-05/0.6766, allocations: 12 kB / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.6766, allocations: 4 kB / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.6767, allocations: 0 / 413.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.6767, allocations: 4 kB / 413.4 MB, free: 13.92 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.0001291/0.6768, allocations: 121.7 kB / 413.5 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.677, allocations: 69.66 kB / 413.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.175e-05/0.6771, allocations: 11.84 kB / 413.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6771, allocations: 0 / 413.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6771, allocations: 0 / 413.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.6771, allocations: 4.234 kB / 413.6 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.6773, allocations: 157.7 kB / 413.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6773, allocations: 0 / 413.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.561e-05/0.6774, allocations: 8 kB / 413.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.6774, allocations: 3.984 kB / 413.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.6774, allocations: 3.938 kB / 413.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.6774, allocations: 3.938 kB / 413.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6774, allocations: 4 kB / 413.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.6777, allocations: 96.94 kB / 413.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-05/0.6777, allocations: 81.11 kB / 413.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.6778, allocations: 7.938 kB / 413.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.557e-05/0.6778, allocations: 4 kB / 413.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.011e-06/0.6779, allocations: 3.984 kB / 413.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.6779, allocations: 0 / 413.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.172e-05/0.6779, allocations: 87.28 kB / 414 MB, free: 13.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6779, allocations: 0 / 414 MB, free: 13.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003017/0.6783, allocations: 4 kB / 414 MB, free: 13.15 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.0001747/0.6784, allocations: 100.5 kB / 414.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.6787, allocations: 35.91 kB / 414.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6787, allocations: 0 / 414.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.6787, allocations: 0 / 414.2 MB, free: 13.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.6791, allocations: 24.27 kB / 414.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004658/0.6796, allocations: 147.3 kB / 414.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.68, allocations: 0.6807 MB / 415 MB, free: 12.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.68, allocations: 11.42 kB / 415 MB, free: 12.09 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.68, allocations: 0 / 415 MB, free: 12.09 MB / 334.1 MB Notification: Performance of Templates: time 0.002755/0.6828, allocations: 0.621 MB / 415.6 MB, free: 11.47 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches