Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001243, allocations: 196.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.5 MB / 244.3 MB, free: 6.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008056/0.0008066, allocations: 97.08 kB / 296.4 MB, free: 6.801 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003284, allocations: 8 kB / 356.2 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2666, allocations: 51.29 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001312/0.268, allocations: 1.14 MB / 408.6 MB, free: 26.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001849/0.2682, allocations: 40.97 kB / 408.7 MB, free: 26.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.2683, allocations: 4 kB / 408.7 MB, free: 26.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.2683, allocations: 0 / 408.7 MB, free: 26.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.238e-05/0.2683, allocations: 4.562 kB / 408.7 MB, free: 26.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.2686, allocations: 27.91 kB / 408.7 MB, free: 26.6 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.799e-05/0.2687, allocations: 20.97 kB / 408.7 MB, free: 26.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2688, allocations: 7.984 kB / 408.7 MB, free: 26.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.821e-05/0.2688, allocations: 8.75 kB / 408.7 MB, free: 26.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.2689, allocations: 15.91 kB / 408.8 MB, free: 26.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.2689, allocations: 0.625 kB / 408.8 MB, free: 26.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.739e-06/0.2689, allocations: 6.062 kB / 408.8 MB, free: 26.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.269, allocations: 3.938 kB / 408.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.269, allocations: 29.7 kB / 408.8 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.163e-05/0.2691, allocations: 19.95 kB / 408.8 MB, free: 26.49 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2691, allocations: 0 / 408.8 MB, free: 26.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.145e-06/0.2691, allocations: 0 / 408.8 MB, free: 26.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.2691, allocations: 1.75 kB / 408.8 MB, free: 26.49 MB / 298.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.0003687/0.2695, allocations: 331.3 kB / 409.1 MB, free: 26.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2695, allocations: 8.031 kB / 409.2 MB, free: 26.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.2695, allocations: 8.766 kB / 409.2 MB, free: 26.1 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.2697, allocations: 187.8 kB / 409.3 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.2697, allocations: 5.156 kB / 409.4 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.2697, allocations: 0 / 409.4 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003293/0.2701, allocations: 134 kB / 409.5 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2701, allocations: 0 / 409.5 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.2701, allocations: 0 / 409.5 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2701, allocations: 4 kB / 409.5 MB, free: 25.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.2702, allocations: 27.97 kB / 409.5 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.2704, allocations: 162.5 kB / 409.7 MB, free: 25.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.2705, allocations: 59.16 kB / 409.7 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.302e-05/0.2706, allocations: 25.5 kB / 409.8 MB, free: 25.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.2706, allocations: 3.906 kB / 409.8 MB, free: 25.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.2707, allocations: 42.52 kB / 409.8 MB, free: 25.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2707, allocations: 0 / 409.8 MB, free: 25.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002563/0.2709, allocations: 77.66 kB / 409.9 MB, free: 25.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.271, allocations: 55.34 kB / 409.9 MB, free: 25.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.271, allocations: 113.8 kB / 410 MB, free: 25.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.2711, allocations: 25.7 kB / 410.1 MB, free: 25.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.427e-05/0.2711, allocations: 89.61 kB / 410.2 MB, free: 24.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.013e-05/0.2711, allocations: 0 / 410.2 MB, free: 24.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/0.2711, allocations: 0 / 410.2 MB, free: 24.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.2712, allocations: 322.8 kB / 410.5 MB, free: 24.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.2712, allocations: 4 kB / 410.5 MB, free: 24.63 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.2712, allocations: 27.44 kB / 410.5 MB, free: 24.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.968e-05/0.2712, allocations: 8 kB / 410.5 MB, free: 24.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2712, allocations: 0 / 410.5 MB, free: 24.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.607e-05/0.2713, allocations: 69.5 kB / 410.6 MB, free: 24.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2713, allocations: 8 kB / 410.6 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2713, allocations: 3.953 kB / 410.6 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2714, allocations: 0 / 410.6 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.2714, allocations: 15.92 kB / 410.6 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.2714, allocations: 4 kB / 410.6 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.812e-05/0.2715, allocations: 0 / 410.6 MB, free: 24.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.2715, allocations: 4 kB / 410.6 MB, free: 24.48 MB / 298.7 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 (step.counter,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.196e-05/0.2715, allocations: 114 kB / 410.7 MB, free: 24.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.2717, allocations: 73.52 kB / 410.8 MB, free: 24.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.16e-05/0.2717, allocations: 3.906 kB / 410.8 MB, free: 24.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2717, allocations: 7.953 kB / 410.8 MB, free: 24.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2717, allocations: 0 / 410.8 MB, free: 24.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2717, allocations: 0 / 410.8 MB, free: 24.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.412e-05/0.2718, allocations: 157.7 kB / 411 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2718, allocations: 0 / 411 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.2719, allocations: 11.98 kB / 411 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.2719, allocations: 0 / 411 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.2719, allocations: 4 kB / 411 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2719, allocations: 0 / 411 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2719, allocations: 7.953 kB / 411 MB, free: 24.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.272, allocations: 85.11 kB / 411.1 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.814e-05/0.2721, allocations: 89.23 kB / 411.2 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.2721, allocations: 7.984 kB / 411.2 MB, free: 23.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-05/0.2721, allocations: 0 / 411.2 MB, free: 23.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-06/0.2721, allocations: 3.984 kB / 411.2 MB, free: 23.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.2721, allocations: 11.95 kB / 411.2 MB, free: 23.8 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.248e-05/0.2722, allocations: 83.66 kB / 411.3 MB, free: 23.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2722, allocations: 0 / 411.3 MB, free: 23.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001825/0.2723, allocations: 7.984 kB / 411.3 MB, free: 23.71 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.117e-05/0.2724, allocations: 95.25 kB / 411.4 MB, free: 23.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001126/0.2725, allocations: 31.92 kB / 411.4 MB, free: 23.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2726, allocations: 0 / 411.4 MB, free: 23.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2726, allocations: 256 / 411.4 MB, free: 23.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.2728, allocations: 32.02 kB / 411.4 MB, free: 23.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.2731, allocations: 146.3 kB / 411.6 MB, free: 23.37 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.846e-05/0.2732, allocations: 0.6887 MB / 412.3 MB, free: 22.65 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.2732, allocations: 11.44 kB / 412.3 MB, free: 22.64 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2732, allocations: 0 / 412.3 MB, free: 22.64 MB / 298.7 MB Notification: Performance of Templates: time 0.001502/0.2747, allocations: 0.6145 MB / 412.9 MB, free: 22.04 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches