Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.00121, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 55.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2741, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002604/0.2767, allocations: 1.457 MB / 411.4 MB, free: 100 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001834/0.2769, allocations: 31.91 kB / 411.4 MB, free: 68 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.277, allocations: 0 / 411.4 MB, free: 68 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.2771, allocations: 7.922 kB / 411.4 MB, free: 60 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.818e-05/0.2771, allocations: 3.938 kB / 411.4 MB, free: 56 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.2774, allocations: 31.58 kB / 411.5 MB, free: 28 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.82e-05/0.2775, allocations: 27.92 kB / 411.5 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.2776, allocations: 8.078 kB / 411.5 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.753e-05/0.2776, allocations: 11.94 kB / 411.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.2777, allocations: 19.83 kB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.2777, allocations: 4 kB / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.787e-06/0.2777, allocations: 0 / 411.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.2777, allocations: 11.94 kB / 411.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.2778, allocations: 11.92 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.165e-05/0.2779, allocations: 35.88 kB / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2779, allocations: 0 / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2779, allocations: 0 / 411.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.2779, allocations: 0 / 411.6 MB, free: 15.9 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.0004088/0.2783, allocations: 347.5 kB / 411.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2784, allocations: 8.031 kB / 411.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.2784, allocations: 4.938 kB / 411.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.2786, allocations: 189.1 kB / 412.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.2787, allocations: 8.312 kB / 412.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.2787, allocations: 384 / 412.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.279, allocations: 123.8 kB / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.279, allocations: 192 / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2791, allocations: 3.938 kB / 412.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2791, allocations: 0 / 412.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.2792, allocations: 27.97 kB / 412.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.2793, allocations: 153.7 kB / 412.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.2795, allocations: 58.48 kB / 412.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.763e-05/0.2796, allocations: 24.92 kB / 412.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.2796, allocations: 7.984 kB / 412.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2797, allocations: 38.56 kB / 412.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2797, allocations: 0 / 412.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002769/0.2799, allocations: 85.44 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.28, allocations: 55.41 kB / 412.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.581e-05/0.2801, allocations: 105.8 kB / 412.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.2801, allocations: 25.7 kB / 412.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.2802, allocations: 88.14 kB / 412.9 MB, free: 14.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.2802, allocations: 4 kB / 412.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.2802, allocations: 13.72 kB / 412.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2803, allocations: 318.8 kB / 413.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.529e-05/0.2804, allocations: 4 kB / 413.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.2804, allocations: 27.44 kB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.658e-05/0.2805, allocations: 39.75 kB / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2805, allocations: 0 / 413.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.129e-05/0.2806, allocations: 61.62 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2806, allocations: 6.969 kB / 413.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2806, allocations: 8.062 kB / 413.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2806, allocations: 11.94 kB / 413.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.613e-05/0.2807, allocations: 7.984 kB / 413.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.2807, allocations: 4 kB / 413.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.2807, allocations: 7.844 kB / 413.4 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.2807, allocations: 4 kB / 413.4 MB, free: 13.81 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: 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 (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 7.147e-05/0.2808, allocations: 114 kB / 413.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.281, allocations: 69.59 kB / 413.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.281, allocations: 11.84 kB / 413.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.281, allocations: 4 kB / 413.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.281, allocations: 4 kB / 413.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.281, allocations: 0 / 413.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.2811, allocations: 157.7 kB / 413.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2811, allocations: 0 / 413.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.2812, allocations: 15.92 kB / 413.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2812, allocations: 0 / 413.8 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.2812, allocations: 3.938 kB / 413.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2812, allocations: 0 / 413.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2812, allocations: 0 / 413.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.2814, allocations: 93.02 kB / 413.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.2815, allocations: 85.09 kB / 414 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.2815, allocations: 7.938 kB / 414 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.361e-05/0.2815, allocations: 4 kB / 414 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-06/0.2815, allocations: 0 / 414 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.2815, allocations: 0 / 414 MB, free: 13.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.727e-05/0.2816, allocations: 87.2 kB / 414.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2816, allocations: 0 / 414.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000201/0.2818, allocations: 8 kB / 414.1 MB, free: 13.05 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: 1 (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.0001061/0.2819, allocations: 99.25 kB / 414.2 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.2821, allocations: 27.98 kB / 414.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2821, allocations: 3.938 kB / 414.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2821, allocations: 0 / 414.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.2823, allocations: 26.25 kB / 414.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.2826, allocations: 143.6 kB / 414.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.2829, allocations: 0.6846 MB / 415.1 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.322e-05/0.2829, allocations: 7.438 kB / 415.1 MB, free: 12 MB / 334.1 MB Notification: Performance of SimCode: time 1.573e-06/0.2829, allocations: 0 / 415.1 MB, free: 12 MB / 334.1 MB Notification: Performance of Templates: time 0.001912/0.2848, allocations: 0.6329 MB / 415.7 MB, free: 11.36 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches