Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, allocations: 97.75 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 201 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 227.8 MB / 246.8 MB, free: 9.738 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003369, allocations: 8 kB / 307.7 MB, free: 0.6094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 51.53 MB / 359.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002675/0.1536, allocations: 1.196 MB / 360.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004425/0.1541, allocations: 91.75 kB / 360.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.1543, allocations: 0 / 360.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.784e-05/0.1543, allocations: 3.984 kB / 360.6 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.541e-05/0.1544, allocations: 7.938 kB / 360.6 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.1548, allocations: 15.98 kB / 360.6 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.1549, allocations: 31.86 kB / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001429/0.155, allocations: 4 kB / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.774e-05/0.1551, allocations: 11.98 kB / 360.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.1552, allocations: 7.938 kB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.1552, allocations: 0 / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.1552, allocations: 0 / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.1553, allocations: 7.938 kB / 360.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.161e-05/0.1553, allocations: 37.62 kB / 360.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1555, allocations: 31.83 kB / 360.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1555, allocations: 0 / 360.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.1555, allocations: 4 kB / 360.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1555, allocations: 0 / 360.7 MB, free: 11.62 MB / 302.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.0005799/0.1561, allocations: 339.7 kB / 361.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.1561, allocations: 8.031 kB / 361.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.1562, allocations: 8.844 kB / 361.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.1564, allocations: 176.3 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1564, allocations: 384 / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.1565, allocations: 8.375 kB / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.1569, allocations: 115.8 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1569, allocations: 192 / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1569, allocations: 3.938 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1569, allocations: 7.938 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.26e-05/0.157, allocations: 23.98 kB / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.1572, allocations: 157.6 kB / 361.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.1574, allocations: 62.48 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.1575, allocations: 28.92 kB / 361.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.1575, allocations: 4 kB / 361.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.1575, allocations: 30.56 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1575, allocations: 0 / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002606/0.1578, allocations: 81.55 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.1579, allocations: 55.41 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.047e-05/0.158, allocations: 105.8 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.158, allocations: 29.7 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.158, allocations: 80.14 kB / 362 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-06/0.1581, allocations: 3.984 kB / 362 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.1581, allocations: 17.72 kB / 362 MB, free: 10.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1582, allocations: 310.8 kB / 362.3 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.1582, allocations: 4 kB / 362.3 MB, free: 9.773 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.987e-05/0.1583, allocations: 35.42 kB / 362.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.281e-05/0.1583, allocations: 31.38 kB / 362.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1583, allocations: 0 / 362.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.542e-05/0.1584, allocations: 57.88 kB / 362.5 MB, free: 9.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.1584, allocations: 8 kB / 362.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1584, allocations: 3.938 kB / 362.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1585, allocations: 0 / 362.5 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-05/0.1585, allocations: 15.94 kB / 362.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1585, allocations: 0 / 362.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.1586, allocations: 0 / 362.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.1586, allocations: 4 kB / 362.5 MB, free: 9.59 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.836e-05/0.1587, allocations: 125.8 kB / 362.6 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.1588, allocations: 65.52 kB / 362.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.491e-05/0.1589, allocations: 12.17 kB / 362.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1589, allocations: 0 / 362.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1589, allocations: 0 / 362.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1589, allocations: 7.984 kB / 362.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.159, allocations: 157.7 kB / 362.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.159, allocations: 3.938 kB / 362.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.1591, allocations: 15.94 kB / 362.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1591, allocations: 0 / 362.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1591, allocations: 3.938 kB / 362.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1591, allocations: 0 / 362.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1591, allocations: 0 / 362.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.1593, allocations: 85.11 kB / 363 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.1593, allocations: 85.02 kB / 363.1 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1593, allocations: 7.938 kB / 363.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.697e-05/0.1594, allocations: 3.984 kB / 363.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-06/0.1594, allocations: 0 / 363.1 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1594, allocations: 4 kB / 363.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.813e-05/0.1594, allocations: 83.28 kB / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1594, allocations: 0 / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001894/0.1596, allocations: 4 kB / 363.2 MB, free: 8.828 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001238/0.1598, allocations: 103.2 kB / 363.3 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.1599, allocations: 23.98 kB / 363.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1599, allocations: 0 / 363.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/0.1599, allocations: 0 / 363.3 MB, free: 8.695 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.1601, allocations: 27.95 kB / 363.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.1604, allocations: 125 kB / 363.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1607, allocations: 0.677 MB / 364.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.39e-05/0.1607, allocations: 4.25 kB / 364.1 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.1607, allocations: 7.438 kB / 364.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1607, allocations: 0 / 364.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of Templates: time 0.002297/0.163, allocations: 296.9 kB / 364.4 MB, free: 7.512 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches