Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001397, allocations: 110.3 kB / 17.06 MB, free: 6.129 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.001544/0.001544, allocations: 191 kB / 18 MB, free: 5.207 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.661/1.661, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 55.91 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3486, allocations: 49.42 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003377/0.352, allocations: 1.442 MB / 402.2 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000346/0.3524, allocations: 103.6 kB / 402.3 MB, free: 7.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.689e-05/0.3525, allocations: 4 kB / 402.3 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.3526, allocations: 3.938 kB / 402.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.142e-05/0.3526, allocations: 0 / 402.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.3529, allocations: 23.91 kB / 402.3 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.3531, allocations: 23.92 kB / 402.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.3532, allocations: 12 kB / 402.3 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.162e-05/0.3533, allocations: 11.94 kB / 402.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.3533, allocations: 11.92 kB / 402.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.3533, allocations: 4 kB / 402.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.3534, allocations: 0 / 402.3 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.3534, allocations: 8 kB / 402.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.3535, allocations: 15.88 kB / 402.4 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.3536, allocations: 27.89 kB / 402.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.3536, allocations: 3.984 kB / 402.4 MB, free: 7.191 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3536, allocations: 0 / 402.4 MB, free: 7.191 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.3536, allocations: 0 / 402.4 MB, free: 7.191 MB / 318.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.0006636/0.3543, allocations: 347.3 kB / 402.7 MB, free: 6.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.3543, allocations: 11.89 kB / 402.8 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.3544, allocations: 4.938 kB / 402.8 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.3547, allocations: 176.2 kB / 402.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3547, allocations: 384 / 402.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.3547, allocations: 8.375 kB / 402.9 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.3551, allocations: 107.9 kB / 403 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3552, allocations: 192 / 403 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3552, allocations: 3.938 kB / 403 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3552, allocations: 0 / 403 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.018e-05/0.3553, allocations: 19.98 kB / 403.1 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.3555, allocations: 153.7 kB / 403.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.3557, allocations: 62.47 kB / 403.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.447e-05/0.3558, allocations: 24.92 kB / 403.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.3558, allocations: 7.922 kB / 403.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.3559, allocations: 34.56 kB / 403.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.723e-06/0.3559, allocations: 0 / 403.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002778/0.3562, allocations: 73.52 kB / 403.4 MB, free: 6.004 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.3563, allocations: 63.34 kB / 403.5 MB, free: 5.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.3564, allocations: 105.8 kB / 403.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.3564, allocations: 25.7 kB / 403.6 MB, free: 5.785 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.3564, allocations: 84.08 kB / 403.7 MB, free: 5.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.528e-05/0.3565, allocations: 11.98 kB / 403.7 MB, free: 5.688 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.3565, allocations: 13.72 kB / 403.7 MB, free: 5.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.3566, allocations: 314.8 kB / 404 MB, free: 5.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.114e-05/0.3567, allocations: 0 / 404 MB, free: 5.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.695e-05/0.3567, allocations: 31.42 kB / 404 MB, free: 5.309 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.3567, allocations: 35.38 kB / 404.1 MB, free: 5.262 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3568, allocations: 0 / 404.1 MB, free: 5.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.109e-05/0.3568, allocations: 57.62 kB / 404.1 MB, free: 5.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3568, allocations: 8 kB / 404.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3569, allocations: 3.938 kB / 404.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3569, allocations: 0 / 404.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.563e-05/0.3569, allocations: 15.94 kB / 404.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3569, allocations: 256 / 404.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.357, allocations: 1.266 kB / 404.2 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.357, allocations: 8 kB / 404.2 MB, free: 5.164 MB / 318.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: 3 (assignClock1.y,assignClock1.u,step.y) * 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.601e-05/0.3571, allocations: 114 kB / 404.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3572, allocations: 61.58 kB / 404.3 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.3572, allocations: 7.844 kB / 404.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3572, allocations: 4 kB / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3572, allocations: 0 / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3572, allocations: 0 / 404.4 MB, free: 4.957 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.3574, allocations: 157.7 kB / 404.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3574, allocations: 0 / 404.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.801e-05/0.3574, allocations: 7.938 kB / 404.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3574, allocations: 8 kB / 404.5 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3575, allocations: 7.938 kB / 404.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3575, allocations: 0 / 404.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3575, allocations: 0 / 404.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.3576, allocations: 85.05 kB / 404.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.3577, allocations: 84.95 kB / 404.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.3577, allocations: 7.938 kB / 404.7 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.086e-05/0.3577, allocations: 3.984 kB / 404.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-06/0.3578, allocations: 4.375 kB / 404.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3578, allocations: 0 / 404.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.572e-05/0.3578, allocations: 87.28 kB / 404.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3578, allocations: 0 / 404.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.3581, allocations: 4 kB / 404.8 MB, free: 4.422 MB / 318.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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0001198/0.3582, allocations: 103.2 kB / 404.9 MB, free: 4.312 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.3583, allocations: 28.09 kB / 404.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3584, allocations: 8.062 kB / 404.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.3584, allocations: 0 / 404.9 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3586, allocations: 27.84 kB / 405 MB, free: 4.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.3589, allocations: 113.6 kB / 405.1 MB, free: 4.113 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.3593, allocations: 0.6883 MB / 405.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.533e-05/0.3593, allocations: 0 / 405.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.3593, allocations: 11.44 kB / 405.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3593, allocations: 4 kB / 405.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of Templates: time 0.002479/0.3618, allocations: 316.8 kB / 406.1 MB, free: 3.074 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches