Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001289, allocations: 185 kB / 17.27 MB, free: 4.484 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 100.5 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009761/0.0009765, allocations: 44.08 kB / 350 MB, free: 80 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3438, allocations: 49.45 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003079/0.347, allocations: 1.51 MB / 401 MB, free: 31.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002635/0.3473, allocations: 99.62 kB / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.571e-05/0.3474, allocations: 0 / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.3474, allocations: 0 / 401.1 MB, free: 31.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.941e-05/0.3475, allocations: 13.55 kB / 401.1 MB, free: 31.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.3478, allocations: 19.98 kB / 401.1 MB, free: 31.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3479, allocations: 19.88 kB / 401.1 MB, free: 31.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3481, allocations: 15.97 kB / 401.2 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.3481, allocations: 7 kB / 401.2 MB, free: 31.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.3482, allocations: 15.92 kB / 401.2 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3482, allocations: 0 / 401.2 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.3482, allocations: 4 kB / 401.2 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.3482, allocations: 3.938 kB / 401.2 MB, free: 31.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.3483, allocations: 11.94 kB / 401.2 MB, free: 31.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.3484, allocations: 23.91 kB / 401.2 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.3484, allocations: 4 kB / 401.2 MB, free: 31.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3484, allocations: 7.531 kB / 401.2 MB, free: 31.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.3484, allocations: 0 / 401.2 MB, free: 31.63 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.00053/0.349, allocations: 345 kB / 401.6 MB, free: 31.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.349, allocations: 8.031 kB / 401.6 MB, free: 31.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.3491, allocations: 8.844 kB / 401.6 MB, free: 31.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.3493, allocations: 180.2 kB / 401.8 MB, free: 31.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3493, allocations: 384 / 401.8 MB, free: 31.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.3494, allocations: 8.375 kB / 401.8 MB, free: 31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.3497, allocations: 103.9 kB / 401.9 MB, free: 30.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3497, allocations: 192 / 401.9 MB, free: 30.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3497, allocations: 7.938 kB / 401.9 MB, free: 30.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.3497, allocations: 0 / 401.9 MB, free: 30.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.583e-05/0.3498, allocations: 27.92 kB / 401.9 MB, free: 30.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.35, allocations: 161.6 kB / 402.1 MB, free: 30.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3502, allocations: 54.48 kB / 402.1 MB, free: 30.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.3502, allocations: 24.88 kB / 402.1 MB, free: 30.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.3503, allocations: 4.031 kB / 402.1 MB, free: 30.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.3503, allocations: 42.56 kB / 402.2 MB, free: 30.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.3503, allocations: 0 / 402.2 MB, free: 30.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002691/0.3506, allocations: 69.61 kB / 402.3 MB, free: 30.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.3506, allocations: 55.34 kB / 402.3 MB, free: 30.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.535e-05/0.3507, allocations: 105.8 kB / 402.4 MB, free: 30.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.3507, allocations: 25.7 kB / 402.4 MB, free: 30.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/0.3508, allocations: 84.14 kB / 402.5 MB, free: 30.13 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.3508, allocations: 4 kB / 402.5 MB, free: 30.13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.3508, allocations: 13.72 kB / 402.5 MB, free: 30.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.988e-05/0.3509, allocations: 322.8 kB / 402.9 MB, free: 29.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.3509, allocations: 3.938 kB / 402.9 MB, free: 29.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.351, allocations: 27.44 kB / 402.9 MB, free: 29.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.351, allocations: 35.38 kB / 402.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.351, allocations: 0 / 402.9 MB, free: 29.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.637e-05/0.3511, allocations: 57.62 kB / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3511, allocations: 4 kB / 403 MB, free: 29.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3511, allocations: 7.938 kB / 403 MB, free: 29.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3511, allocations: 0 / 403 MB, free: 29.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.179e-05/0.3512, allocations: 8.062 kB / 403 MB, free: 29.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3512, allocations: 11.98 kB / 403 MB, free: 29.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.3513, allocations: 0 / 403 MB, free: 29.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3513, allocations: 4 kB / 403 MB, free: 29.6 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: 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 7.337e-05/0.3513, allocations: 113.8 kB / 403.1 MB, free: 29.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.641e-05/0.3515, allocations: 57.59 kB / 403.2 MB, free: 29.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.731e-05/0.3515, allocations: 15.83 kB / 403.2 MB, free: 29.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3515, allocations: 0 / 403.2 MB, free: 29.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3515, allocations: 0 / 403.2 MB, free: 29.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3515, allocations: 4 kB / 403.2 MB, free: 29.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.77e-05/0.3516, allocations: 149.7 kB / 403.3 MB, free: 29.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3517, allocations: 0 / 403.3 MB, free: 29.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.3517, allocations: 19.92 kB / 403.4 MB, free: 29.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.3517, allocations: 3.938 kB / 403.4 MB, free: 29.17 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3517, allocations: 3.938 kB / 403.4 MB, free: 29.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3517, allocations: 4 kB / 403.4 MB, free: 29.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3517, allocations: 256 / 403.4 MB, free: 29.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.3522, allocations: 0.6434 MB / 404 MB, free: 28.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.3523, allocations: 81.05 kB / 404.1 MB, free: 28.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3523, allocations: 8 kB / 404.1 MB, free: 28.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.515e-05/0.3523, allocations: 4 kB / 404.1 MB, free: 28.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-06/0.3523, allocations: 0 / 404.1 MB, free: 28.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3523, allocations: 3.984 kB / 404.1 MB, free: 28.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.368e-05/0.3524, allocations: 79.28 kB / 404.2 MB, free: 28.27 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3524, allocations: 4 kB / 404.2 MB, free: 28.26 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003217/0.3527, allocations: 8 kB / 404.2 MB, free: 28.25 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: 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.0001697/0.3529, allocations: 95.62 kB / 404.3 MB, free: 28.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.3531, allocations: 27.92 kB / 404.3 MB, free: 28.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3531, allocations: 0 / 404.3 MB, free: 28.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.3531, allocations: 0 / 404.3 MB, free: 28.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.3534, allocations: 28.27 kB / 404.4 MB, free: 28.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.3539, allocations: 238.2 kB / 404.6 MB, free: 27.82 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.3542, allocations: 0.6848 MB / 405.3 MB, free: 27.11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.281e-05/0.3543, allocations: 7.875 kB / 405.3 MB, free: 27.1 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.3543, allocations: 11.44 kB / 405.3 MB, free: 27.09 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3543, allocations: 0 / 405.3 MB, free: 27.09 MB / 298.7 MB Notification: Performance of Templates: time 0.002742/0.357, allocations: 312.8 kB / 405.6 MB, free: 26.79 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches