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/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.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/Complex trunk/package.mo): time 0.00213/0.00213, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.723/1.723, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001088/0.001088, allocations: 101.8 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000911/0.0009111, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.257, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002573/0.2596, allocations: 1.528 MB / 408.6 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001935/0.2599, allocations: 31.91 kB / 408.6 MB, free: 26.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.104e-05/0.2599, allocations: 4 kB / 408.6 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/0.26, allocations: 3.938 kB / 408.6 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.2601, allocations: 0 / 408.6 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.2603, allocations: 23.97 kB / 408.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.173e-05/0.2604, allocations: 23.94 kB / 408.7 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2605, allocations: 7.984 kB / 408.7 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.503e-05/0.2605, allocations: 15.94 kB / 408.7 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.156e-05/0.2606, allocations: 15.92 kB / 408.7 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.2606, allocations: 0 / 408.7 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.2606, allocations: 4 kB / 408.7 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.2606, allocations: 3.938 kB / 408.7 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.2607, allocations: 19.91 kB / 408.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.493e-05/0.2608, allocations: 19.91 kB / 408.8 MB, free: 26.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2608, allocations: 4 kB / 408.8 MB, free: 26.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2608, allocations: 0 / 408.8 MB, free: 26.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.2608, allocations: 0 / 408.8 MB, free: 26.11 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.0004223/0.2612, allocations: 345 kB / 409.1 MB, free: 25.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2613, allocations: 12.59 kB / 409.1 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.2613, allocations: 4.844 kB / 409.1 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.2615, allocations: 180.2 kB / 409.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.2615, allocations: 4.375 kB / 409.3 MB, free: 25.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.2616, allocations: 384 / 409.3 MB, free: 25.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.2619, allocations: 127.8 kB / 409.4 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.2619, allocations: 4.188 kB / 409.4 MB, free: 25.35 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.2619, allocations: 3.938 kB / 409.4 MB, free: 25.35 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.262, allocations: 0 / 409.4 MB, free: 25.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.2621, allocations: 27.97 kB / 409.4 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.2622, allocations: 153.7 kB / 409.6 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.2624, allocations: 58.48 kB / 409.7 MB, free: 25.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.2624, allocations: 32.91 kB / 409.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.2625, allocations: 4 kB / 409.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2625, allocations: 34.56 kB / 409.7 MB, free: 24.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.2625, allocations: 0 / 409.7 MB, free: 24.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002547/0.2628, allocations: 85.44 kB / 409.8 MB, free: 24.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.2628, allocations: 63.39 kB / 409.9 MB, free: 24.81 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.383e-05/0.2629, allocations: 101.9 kB / 410 MB, free: 24.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.695e-06/0.2629, allocations: 25.7 kB / 410 MB, free: 24.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.502e-05/0.2629, allocations: 80.14 kB / 410.1 MB, free: 24.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.2629, allocations: 15.92 kB / 410.1 MB, free: 24.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.263, allocations: 13.72 kB / 410.1 MB, free: 24.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.2631, allocations: 318.8 kB / 410.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.2631, allocations: 4 kB / 410.4 MB, free: 24.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.2631, allocations: 35.42 kB / 410.5 MB, free: 24.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/0.2632, allocations: 39.38 kB / 410.5 MB, free: 24.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2632, allocations: 0 / 410.5 MB, free: 24.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.498e-05/0.2632, allocations: 65.53 kB / 410.6 MB, free: 24.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2633, allocations: 4 kB / 410.6 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2633, allocations: 3.938 kB / 410.6 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2633, allocations: 8.125 kB / 410.6 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.833e-05/0.2634, allocations: 7.938 kB / 410.6 MB, free: 24.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.2634, allocations: 4 kB / 410.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.2634, allocations: 0 / 410.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.2634, allocations: 11.92 kB / 410.6 MB, free: 24.02 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: 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 5.396e-05/0.2635, allocations: 115.3 kB / 410.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.2636, allocations: 61.67 kB / 410.8 MB, free: 23.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.2636, allocations: 11.84 kB / 410.8 MB, free: 23.81 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.2636, allocations: 0 / 410.8 MB, free: 23.81 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2636, allocations: 7.938 kB / 410.8 MB, free: 23.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2637, allocations: 4 kB / 410.8 MB, free: 23.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.633e-05/0.2637, allocations: 157.7 kB / 410.9 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2637, allocations: 0 / 410.9 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.2638, allocations: 8 kB / 411 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2638, allocations: 0 / 411 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2638, allocations: 8.297 kB / 411 MB, free: 23.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2638, allocations: 0 / 411 MB, free: 23.58 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2638, allocations: 4 kB / 411 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.2641, allocations: 0.659 MB / 411.6 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.062e-05/0.2642, allocations: 77.11 kB / 411.7 MB, free: 22.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.2642, allocations: 8 kB / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.988e-05/0.2642, allocations: 0 / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-06/0.2642, allocations: 0 / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.2642, allocations: 7.984 kB / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.882e-05/0.2643, allocations: 79.28 kB / 411.8 MB, free: 22.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2643, allocations: 0 / 411.8 MB, free: 22.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002882/0.2646, allocations: 12 kB / 411.8 MB, free: 22.66 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: 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.0001129/0.2647, allocations: 95.53 kB / 411.9 MB, free: 22.55 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.2648, allocations: 35.91 kB / 411.9 MB, free: 22.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.2648, allocations: 0 / 411.9 MB, free: 22.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.52e-07/0.2648, allocations: 0 / 411.9 MB, free: 22.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.2652, allocations: 38.69 kB / 412 MB, free: 22.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.2655, allocations: 242.3 kB / 412.2 MB, free: 22.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.804e-05/0.2657, allocations: 0.6809 MB / 412.9 MB, free: 21.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.914e-05/0.2657, allocations: 4 kB / 412.9 MB, free: 21.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.785e-05/0.2657, allocations: 11.44 kB / 412.9 MB, free: 21.48 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2657, allocations: 0 / 412.9 MB, free: 21.48 MB / 298.7 MB Notification: Performance of Templates: time 0.002154/0.2679, allocations: 428 kB / 413.3 MB, free: 21.08 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches