Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00165/0.00165, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 230.5 MB / 258.1 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 59.91 kB / 379 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3243, allocations: 53.41 MB / 432.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002963/0.3272, allocations: 1.461 MB / 433.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002124/0.3274, allocations: 39.84 kB / 433.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.3275, allocations: 0 / 433.9 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.3275, allocations: 3.938 kB / 433.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.354e-05/0.3276, allocations: 0 / 433.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.3278, allocations: 39.78 kB / 433.9 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.928e-05/0.3279, allocations: 27.92 kB / 434 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.328, allocations: 8 kB / 434 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.423e-05/0.3281, allocations: 15.92 kB / 434 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.3281, allocations: 11.92 kB / 434 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3281, allocations: 4 kB / 434 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-06/0.3282, allocations: 0 / 434 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.3282, allocations: 12 kB / 434 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.3282, allocations: 11.92 kB / 434 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.513e-05/0.3283, allocations: 34.78 kB / 434.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3283, allocations: 0 / 434.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3283, allocations: 0 / 434.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.3283, allocations: 0 / 434.1 MB, free: 4.82 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.0005/0.3288, allocations: 277.9 kB / 434.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3289, allocations: 11.98 kB / 434.3 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.3289, allocations: 4.891 kB / 434.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.3291, allocations: 118.5 kB / 434.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.3291, allocations: 4.375 kB / 434.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.3292, allocations: 4.375 kB / 434.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.3295, allocations: 123.8 kB / 434.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3295, allocations: 192 / 434.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.3296, allocations: 3.938 kB / 434.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3296, allocations: 0 / 434.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.3297, allocations: 27.97 kB / 434.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001299/0.3298, allocations: 105.3 kB / 434.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.33, allocations: 58.58 kB / 434.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.982e-05/0.3301, allocations: 24.89 kB / 434.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.3301, allocations: 3.938 kB / 434.8 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.3301, allocations: 30.56 kB / 434.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3301, allocations: 0 / 434.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002819/0.3304, allocations: 85.72 kB / 434.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.3305, allocations: 59.39 kB / 435 MB, free: 3.762 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.911e-05/0.3306, allocations: 97.86 kB / 435.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3306, allocations: 29.7 kB / 435.1 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.3306, allocations: 88.12 kB / 435.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.3306, allocations: 4 kB / 435.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.3307, allocations: 17.72 kB / 435.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3308, allocations: 310.8 kB / 435.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.3309, allocations: 15.92 kB / 435.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.3309, allocations: 27.44 kB / 435.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.337e-05/0.3309, allocations: 39.38 kB / 435.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3309, allocations: 3.938 kB / 435.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001013/0.331, allocations: 65.58 kB / 435.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3311, allocations: 6.344 kB / 435.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3311, allocations: 0 / 435.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3311, allocations: 7.938 kB / 435.7 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.3311, allocations: 8 kB / 435.7 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3312, allocations: 3.984 kB / 435.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.3312, allocations: 3.938 kB / 435.7 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3312, allocations: 4.375 kB / 435.7 MB, free: 2.98 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 9.04e-05/0.3313, allocations: 117.9 kB / 435.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.3314, allocations: 69.61 kB / 435.9 MB, free: 2.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.3315, allocations: 8 kB / 435.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3315, allocations: 7.938 kB / 435.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3315, allocations: 0 / 435.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3315, allocations: 0 / 435.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.462e-05/0.3316, allocations: 109.3 kB / 436 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.3316, allocations: 0 / 436 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.3316, allocations: 11.98 kB / 436 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3316, allocations: 0 / 436 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.3316, allocations: 0 / 436 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3316, allocations: 3.984 kB / 436 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3316, allocations: 7.938 kB / 436 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.3318, allocations: 93.05 kB / 436.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-06/0.3318, allocations: 3.953 kB / 436.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3318, allocations: 3.984 kB / 436.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.361e-05/0.3319, allocations: 8 kB / 436.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-06/0.3319, allocations: 3.938 kB / 436.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-06/0.3319, allocations: 4 kB / 436.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.05e-05/0.3319, allocations: 83.27 kB / 436.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3319, allocations: 0 / 436.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.3321, allocations: 8 kB / 436.2 MB, free: 2.375 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.0001104/0.3322, allocations: 95.25 kB / 436.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.3324, allocations: 35.86 kB / 436.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3324, allocations: 0 / 436.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.3324, allocations: 0 / 436.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.3326, allocations: 26.77 kB / 436.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.333, allocations: 155.2 kB / 436.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.831e-05/0.3331, allocations: 63.34 kB / 436.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.573e-05/0.3331, allocations: 11.69 kB / 436.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3331, allocations: 4 kB / 436.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of Templates: time 0.002234/0.3353, allocations: 0.6321 MB / 437.3 MB, free: 1.305 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.068743667099625]