Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 119.6 kB / 20.44 MB, free: 1.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002374/0.002374, allocations: 214.5 kB / 23.74 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.654/1.654, allocations: 230.6 MB / 257.5 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 51.92 kB / 378.3 MB, free: 2.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3745, allocations: 53.36 MB / 431.6 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002948/0.3774, allocations: 1.485 MB / 433.1 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002175/0.3776, allocations: 31.91 kB / 433.1 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.812e-05/0.3777, allocations: 3.938 kB / 433.1 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.808e-05/0.3777, allocations: 0 / 433.1 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.3778, allocations: 3.938 kB / 433.2 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.3781, allocations: 23.97 kB / 433.2 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.3782, allocations: 31.86 kB / 433.2 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3783, allocations: 15.98 kB / 433.2 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.3783, allocations: 11.98 kB / 433.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.3784, allocations: 15.92 kB / 433.2 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.3784, allocations: 0 / 433.2 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.3784, allocations: 4 kB / 433.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.3784, allocations: 3.938 kB / 433.3 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.3785, allocations: 19.88 kB / 433.3 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.3786, allocations: 37.36 kB / 433.3 MB, free: 5.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3786, allocations: 0 / 433.3 MB, free: 5.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.3786, allocations: 0 / 433.3 MB, free: 5.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.3786, allocations: 0 / 433.3 MB, free: 5.297 MB / 334.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.0004542/0.3791, allocations: 277.9 kB / 433.6 MB, free: 4.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.3791, allocations: 8.031 kB / 433.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.3791, allocations: 8.891 kB / 433.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.3794, allocations: 118.5 kB / 433.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.3794, allocations: 384 / 433.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3794, allocations: 384 / 433.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.3798, allocations: 119.9 kB / 433.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3798, allocations: 192 / 433.8 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3798, allocations: 3.938 kB / 433.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3798, allocations: 0 / 433.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.3799, allocations: 35.91 kB / 433.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.3801, allocations: 128.7 kB / 434 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.3802, allocations: 54.59 kB / 434.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.786e-05/0.3803, allocations: 28.88 kB / 434.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.301e-05/0.3803, allocations: 0 / 434.1 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.3804, allocations: 30.56 kB / 434.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.3804, allocations: 0 / 434.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003038/0.3807, allocations: 89.48 kB / 434.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.3807, allocations: 59.41 kB / 434.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.3808, allocations: 105.8 kB / 434.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3808, allocations: 29.7 kB / 434.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.3809, allocations: 80.14 kB / 434.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.3809, allocations: 0 / 434.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.3809, allocations: 17.72 kB / 434.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3811, allocations: 318.8 kB / 434.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.3811, allocations: 4 kB / 434.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.3811, allocations: 31.38 kB / 434.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.3812, allocations: 39.38 kB / 434.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.3812, allocations: 4 kB / 434.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.19e-05/0.3813, allocations: 61.52 kB / 434.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3813, allocations: 8.125 kB / 434.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.3813, allocations: 7.938 kB / 434.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3813, allocations: 192 / 434.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.3814, allocations: 15.98 kB / 435 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3814, allocations: 0 / 435 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.3814, allocations: 7.938 kB / 435 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.3814, allocations: 3.984 kB / 435 MB, free: 3.422 MB / 334.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.982e-05/0.3815, allocations: 113.8 kB / 435.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.3816, allocations: 69.61 kB / 435.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.3817, allocations: 15.94 kB / 435.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3817, allocations: 0 / 435.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3817, allocations: 3.984 kB / 435.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3817, allocations: 0 / 435.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.3818, allocations: 128.7 kB / 435.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3818, allocations: 0 / 435.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.3819, allocations: 12.36 kB / 435.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3819, allocations: 4 kB / 435.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.3819, allocations: 3.938 kB / 435.3 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.3819, allocations: 4 kB / 435.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3819, allocations: 0 / 435.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.3821, allocations: 93.05 kB / 435.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.3821, allocations: 3.984 kB / 435.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3821, allocations: 7.938 kB / 435.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.82e-05/0.3821, allocations: 0 / 435.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-06/0.3821, allocations: 4 kB / 435.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3821, allocations: 0 / 435.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.848e-05/0.3822, allocations: 87.27 kB / 435.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3822, allocations: 0 / 435.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001826/0.3823, allocations: 11.94 kB / 435.5 MB, free: 2.785 MB / 334.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.0001179/0.3825, allocations: 99.25 kB / 435.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.3826, allocations: 27.92 kB / 435.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3826, allocations: 0 / 435.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.3826, allocations: 4 kB / 435.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.3829, allocations: 19.98 kB / 435.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.3832, allocations: 125.9 kB / 435.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.3835, allocations: 0.6846 MB / 436.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.213e-05/0.3835, allocations: 0 / 436.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.3835, allocations: 11.44 kB / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3835, allocations: 0 / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of Templates: time 0.002995/0.3865, allocations: 466.2 kB / 436.9 MB, free: 1.309 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.058090428123251]