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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007176/0.0007177, allocations: 93.78 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009667/0.0009667, allocations: 175.8 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002339/0.0002339, allocations: 17.8 kB / 302.1 MB, free: 6.113 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07122/0.07147, allocations: 50.41 MB / 352.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001328/0.07281, allocations: 1.178 MB / 353.7 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002131/0.07303, allocations: 104.4 kB / 353.8 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.07309, allocations: 0 / 353.8 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.499e-05/0.07311, allocations: 3.938 kB / 353.8 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.902e-05/0.07316, allocations: 4 kB / 353.8 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.07336, allocations: 23.3 kB / 353.8 MB, free: 2.367 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.035e-05/0.07343, allocations: 19.94 kB / 353.8 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.698e-05/0.07351, allocations: 19.91 kB / 353.8 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.198e-05/0.07354, allocations: 7.938 kB / 353.8 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.479e-05/0.07358, allocations: 11.94 kB / 353.9 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.0736, allocations: 0 / 353.9 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.163e-06/0.07361, allocations: 4 kB / 353.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.07363, allocations: 7.922 kB / 353.9 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.07367, allocations: 37.64 kB / 353.9 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.475e-05/0.07372, allocations: 11.97 kB / 353.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.07373, allocations: 0 / 353.9 MB, free: 2.242 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.07374, allocations: 4 kB / 353.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.07374, allocations: 0 / 353.9 MB, free: 2.238 MB / 286.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.0003102/0.07406, allocations: 347.7 kB / 354.3 MB, free: 1.848 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.0741, allocations: 12.03 kB / 354.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.07413, allocations: 4.844 kB / 354.3 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.07427, allocations: 176.4 kB / 354.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.375e-06/0.07429, allocations: 384 / 354.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.0743, allocations: 4.375 kB / 354.5 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.07459, allocations: 111.9 kB / 354.6 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.07461, allocations: 4.125 kB / 354.6 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.07463, allocations: 7.938 kB / 354.6 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.07463, allocations: 0 / 354.6 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.79e-05/0.07473, allocations: 23.97 kB / 354.6 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.07485, allocations: 157.7 kB / 354.8 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.07501, allocations: 62.59 kB / 354.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.248e-05/0.07508, allocations: 20.89 kB / 354.8 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.0751, allocations: 3.938 kB / 354.8 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.07513, allocations: 46.48 kB / 354.9 MB, free: 1.105 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.07514, allocations: 0 / 354.9 MB, free: 1.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002093/0.07535, allocations: 81.52 kB / 355 MB, free: 1.02 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.0754, allocations: 51.41 kB / 355 MB, free: 0.957 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.634e-05/0.07547, allocations: 105.8 kB / 355.1 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.07549, allocations: 25.7 kB / 355.1 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.07552, allocations: 92.14 kB / 355.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.172e-06/0.07553, allocations: 0 / 355.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.07556, allocations: 9.719 kB / 355.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.07565, allocations: 314.8 kB / 355.5 MB, free: 396 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.989e-06/0.07566, allocations: 7.984 kB / 355.6 MB, free: 388 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.07569, allocations: 27.38 kB / 355.6 MB, free: 348 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.752e-05/0.07574, allocations: 35.44 kB / 355.6 MB, free: 300 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.07574, allocations: 0 / 355.6 MB, free: 300 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.696e-05/0.07582, allocations: 57.56 kB / 355.7 MB, free: 236 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.07584, allocations: 4 kB / 355.7 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.07585, allocations: 7.875 kB / 355.7 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.07587, allocations: 8.125 kB / 355.7 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.105e-05/0.07592, allocations: 4 kB / 355.7 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.07593, allocations: 4 kB / 355.7 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.07595, allocations: 0 / 355.7 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.07596, allocations: 4 kB / 355.7 MB, free: 204 kB / 286.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 6.163e-05/0.07603, allocations: 117.8 kB / 355.8 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.07615, allocations: 65.53 kB / 355.9 MB, free: 4 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.0762, allocations: 15.84 kB / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.0762, allocations: 0 / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.07621, allocations: 0 / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.07622, allocations: 0 / 355.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.122e-05/0.0763, allocations: 157.9 kB / 356.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.07631, allocations: 4 kB / 356.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.101e-05/0.07637, allocations: 8 kB / 356.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.07638, allocations: 0 / 356.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.07639, allocations: 3.938 kB / 356.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.0764, allocations: 0 / 356.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.07641, allocations: 7.984 kB / 356.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.07654, allocations: 93.33 kB / 356.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.07659, allocations: 85 kB / 356.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.07661, allocations: 7.984 kB / 356.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.154e-05/0.07664, allocations: 7.984 kB / 356.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.499e-06/0.07665, allocations: 0 / 356.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.07666, allocations: 4 kB / 356.3 MB, free: 15.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.365e-05/0.0767, allocations: 79.28 kB / 356.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.07671, allocations: 0 / 356.3 MB, free: 15.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001948/0.07691, allocations: 8 kB / 356.4 MB, free: 15.44 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 6.334e-05/0.07698, allocations: 103.2 kB / 356.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.961e-05/0.07708, allocations: 31.92 kB / 356.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.0771, allocations: 4.25 kB / 356.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.0771, allocations: 0 / 356.5 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.07731, allocations: 24.97 kB / 356.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002273/0.07755, allocations: 142.4 kB / 356.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.07774, allocations: 0.6848 MB / 357.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.07777, allocations: 11.44 kB / 357.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.07777, allocations: 4 kB / 357.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of Templates: time 0.001606/0.07939, allocations: 0.5315 MB / 357.9 MB, free: 13.84 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches