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.001217/0.001217, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001854/0.001854, allocations: 165.1 kB / 25.61 MB, free: 8.887 MB / 18.57 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 0.9692/0.9692, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] 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 1.953e-06/1.953e-06, allocations: 0 / 274.2 MB, free: 4.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.109e-05/4.304e-05, allocations: 2.312 kB / 274.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003565/0.003608, allocations: 1.498 MB / 275.7 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002678/0.003876, allocations: 39.84 kB / 275.7 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.339e-05/0.00396, allocations: 2.188 kB / 275.7 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.024e-05/0.004, allocations: 3.938 kB / 275.7 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.274e-05/0.004063, allocations: 0 / 275.7 MB, free: 2.895 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003134/0.004376, allocations: 31.84 kB / 275.8 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.004488, allocations: 27.92 kB / 275.8 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.004607, allocations: 8 kB / 275.8 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.684e-05/0.004684, allocations: 16.98 kB / 275.8 MB, free: 2.812 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.004741, allocations: 11.97 kB / 275.8 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.857e-05/0.00477, allocations: 4.719 kB / 275.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-06/0.004779, allocations: 0 / 275.8 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.004807, allocations: 8.5 kB / 275.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.00484, allocations: 7.938 kB / 275.9 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.00496, allocations: 24.83 kB / 275.9 MB, free: 2.758 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.004965, allocations: 0 / 275.9 MB, free: 2.758 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.004967, allocations: 0.625 kB / 275.9 MB, free: 2.758 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.004974, allocations: 0 / 275.9 MB, free: 2.758 MB / 250.7 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.0004667/0.00544, allocations: 374.6 kB / 276.2 MB, free: 2.355 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.005497, allocations: 8.031 kB / 276.3 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.841e-05/0.005546, allocations: 12.89 kB / 276.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.005758, allocations: 124.5 kB / 276.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.005781, allocations: 384 / 276.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.005793, allocations: 6.312 kB / 276.4 MB, free: 2.184 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.006055, allocations: 106.2 kB / 276.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.006067, allocations: 192 / 276.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.547e-06/0.006076, allocations: 0.9688 kB / 276.5 MB, free: 2.062 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.006083, allocations: 8.375 kB / 276.5 MB, free: 2.055 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.006114, allocations: 7.922 kB / 276.5 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001312/0.006245, allocations: 101.2 kB / 276.6 MB, free: 1.922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.006346, allocations: 42.98 kB / 276.7 MB, free: 1.867 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.006386, allocations: 19.7 kB / 276.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.669e-06/0.006395, allocations: 4 kB / 276.7 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.006425, allocations: 37.42 kB / 276.7 MB, free: 1.793 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.006426, allocations: 0 / 276.7 MB, free: 1.793 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.000144/0.00657, allocations: 53.64 kB / 276.8 MB, free: 1.734 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.006625, allocations: 55.34 kB / 276.8 MB, free: 1.668 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.007085, allocations: 165.9 kB / 277 MB, free: 1.488 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.007103, allocations: 25.7 kB / 277 MB, free: 1.457 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.007158, allocations: 134.9 kB / 277.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.007174, allocations: 0 / 277.1 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.007212, allocations: 19.38 kB / 277.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.007378, allocations: 0.4883 MB / 277.7 MB, free: 0.793 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.007389, allocations: 4 kB / 277.7 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-06/0.007397, allocations: 3.938 kB / 277.7 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.737e-05/0.007434, allocations: 15.67 kB / 277.7 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.007437, allocations: 0 / 277.7 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.005e-05/0.007517, allocations: 49.66 kB / 277.7 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.007534, allocations: 4 kB / 277.7 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.00754, allocations: 0 / 277.7 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.007552, allocations: 0 / 277.7 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.196e-05/0.007604, allocations: 4 kB / 277.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.007608, allocations: 0 / 277.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.007624, allocations: 0 / 277.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.007628, allocations: 7.938 kB / 277.7 MB, free: 0.6953 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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.39e-05/0.007722, allocations: 156.6 kB / 277.9 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.38e-05/0.007796, allocations: 41.7 kB / 277.9 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.007829, allocations: 12.02 kB / 277.9 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.007832, allocations: 0 / 277.9 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.007835, allocations: 4 kB / 277.9 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.007839, allocations: 0 / 277.9 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.423e-05/0.007923, allocations: 93.45 kB / 278 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.007927, allocations: 8 kB / 278 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.37e-05/0.007991, allocations: 15.92 kB / 278.1 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.007995, allocations: 0 / 278.1 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.008001, allocations: 4 kB / 278.1 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.008003, allocations: 0 / 278.1 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.008005, allocations: 0 / 278.1 MB, free: 328 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.237e-05/0.008077, allocations: 72.39 kB / 278.1 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.008092, allocations: 7.938 kB / 278.1 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.008113, allocations: 7.984 kB / 278.2 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.197e-05/0.008144, allocations: 0 / 278.2 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-06/0.008151, allocations: 0 / 278.2 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.008156, allocations: 4 kB / 278.2 MB, free: 212 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.506e-05/0.008211, allocations: 127.2 kB / 278.3 MB, free: 84 kB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.008211, allocations: 0 / 278.3 MB, free: 84 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.008437, allocations: 3.938 kB / 278.3 MB, free: 80 kB / 250.7 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.0001671/0.008604, allocations: 107.2 kB / 278.4 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.319e-05/0.008697, allocations: 15.69 kB / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.0087, allocations: 0 / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.12e-07/0.0087, allocations: 0 / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.008992, allocations: 25.59 kB / 278.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.009305, allocations: 113.1 kB / 278.5 MB, free: 15.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.832e-05/0.009353, allocations: 63.2 kB / 278.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.535e-05/0.009379, allocations: 7.938 kB / 278.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.009438, allocations: 70.2 kB / 278.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.009439, allocations: 4.062 kB / 278.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of Templates: time 0.003152/0.01259, allocations: 470.9 kB / 279.1 MB, free: 15.16 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9014493678696454]