Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 109.9 kB / 17.74 MB, free: 5.34 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.001917/0.001917, allocations: 189.5 kB / 18.66 MB, free: 4.422 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.516/1.516, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 47.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3756, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002842/0.3785, allocations: 1.456 MB / 402.9 MB, free: 7.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001967/0.3788, allocations: 31.91 kB / 402.9 MB, free: 7.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.3788, allocations: 3.938 kB / 402.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.3789, allocations: 0 / 402.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.3789, allocations: 7.922 kB / 402.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.3792, allocations: 19.97 kB / 402.9 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.422e-05/0.3793, allocations: 27.94 kB / 403 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3794, allocations: 11.98 kB / 403 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.035e-05/0.3795, allocations: 11.94 kB / 403 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.3795, allocations: 15.92 kB / 403 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.3796, allocations: 4 kB / 403 MB, free: 7.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.3796, allocations: 4 kB / 403 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.3796, allocations: 7.984 kB / 403 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.3796, allocations: 19.86 kB / 403 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.429e-05/0.3797, allocations: 23.91 kB / 403 MB, free: 7.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.3798, allocations: 0 / 403 MB, free: 7.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3798, allocations: 7.938 kB / 403.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3798, allocations: 4 kB / 403.1 MB, free: 7.223 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.0004562/0.3802, allocations: 340.7 kB / 403.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3803, allocations: 12.03 kB / 403.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.3803, allocations: 0.9375 kB / 403.4 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.3805, allocations: 184.1 kB / 403.6 MB, free: 6.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.3806, allocations: 4.312 kB / 403.6 MB, free: 6.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.3806, allocations: 4.375 kB / 403.6 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.381, allocations: 131.8 kB / 403.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.381, allocations: 192 / 403.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.381, allocations: 7.938 kB / 403.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.381, allocations: 0 / 403.7 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3811, allocations: 31.91 kB / 403.8 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.3813, allocations: 153.7 kB / 403.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.3815, allocations: 62.53 kB / 404 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.042e-05/0.3816, allocations: 28.92 kB / 404 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.3816, allocations: 0 / 404 MB, free: 6.125 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.3816, allocations: 34.55 kB / 404 MB, free: 6.082 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3816, allocations: 0 / 404 MB, free: 6.082 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002997/0.3819, allocations: 85.53 kB / 404.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.382, allocations: 59.31 kB / 404.2 MB, free: 5.922 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3821, allocations: 105.9 kB / 404.3 MB, free: 5.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.3822, allocations: 29.69 kB / 404.3 MB, free: 5.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.967e-05/0.3822, allocations: 84.14 kB / 404.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.3822, allocations: 4 kB / 404.4 MB, free: 5.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.3823, allocations: 13.72 kB / 404.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3824, allocations: 314.8 kB / 404.7 MB, free: 5.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.3824, allocations: 7.984 kB / 404.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.043e-05/0.3825, allocations: 31.44 kB / 404.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.994e-05/0.3825, allocations: 35.38 kB / 404.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3825, allocations: 0 / 404.8 MB, free: 5.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.771e-05/0.3826, allocations: 65.66 kB / 404.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.3827, allocations: 8.031 kB / 404.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3827, allocations: 7.938 kB / 404.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3827, allocations: 0 / 404.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.3828, allocations: 11.98 kB / 404.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.3828, allocations: 0 / 404.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.16e-05/0.3828, allocations: 0 / 404.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3828, allocations: 7.938 kB / 404.9 MB, free: 5.145 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: 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 8.461e-05/0.3829, allocations: 113.8 kB / 405 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.3831, allocations: 65.52 kB / 405.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.918e-05/0.3831, allocations: 19.84 kB / 405.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3831, allocations: 0 / 405.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3831, allocations: 0 / 405.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3831, allocations: 0 / 405.1 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.3e-05/0.3832, allocations: 157.7 kB / 405.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3832, allocations: 0 / 405.2 MB, free: 4.723 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.547e-05/0.3833, allocations: 12.36 kB / 405.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.3833, allocations: 3.938 kB / 405.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.3833, allocations: 3.938 kB / 405.3 MB, free: 4.703 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3833, allocations: 4 kB / 405.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3834, allocations: 4 kB / 405.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.3835, allocations: 93.05 kB / 405.4 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.3836, allocations: 81.02 kB / 405.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.3836, allocations: 7.922 kB / 405.4 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.405e-05/0.3837, allocations: 4 kB / 405.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-06/0.3837, allocations: 288 / 405.4 MB, free: 4.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.3837, allocations: 4 kB / 405.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.462e-05/0.3837, allocations: 87.27 kB / 405.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3837, allocations: 4 kB / 405.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001927/0.3839, allocations: 8 kB / 405.5 MB, free: 4.375 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: 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.0001164/0.3841, allocations: 99.98 kB / 405.6 MB, free: 4.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.3842, allocations: 31.91 kB / 405.7 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3842, allocations: 4 kB / 405.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-07/0.3842, allocations: 0 / 405.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.3845, allocations: 26.97 kB / 405.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.3849, allocations: 147.5 kB / 405.8 MB, free: 4.035 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3852, allocations: 0.6844 MB / 406.5 MB, free: 3.324 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.3852, allocations: 11.44 kB / 406.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3852, allocations: 0 / 406.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of Templates: time 0.00214/0.3873, allocations: 0.6243 MB / 407.2 MB, free: 2.688 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches