Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.001454/0.001454, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001565/0.001565, allocations: 210.9 kB / 24.48 MB, free: 3.941 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.645/1.645, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 47.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3264, allocations: 53.36 MB / 432.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003028/0.3294, allocations: 1.473 MB / 433.8 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003307/0.3298, allocations: 99.61 kB / 433.9 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.875e-05/0.3298, allocations: 4 kB / 433.9 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.3299, allocations: 3.938 kB / 433.9 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.3299, allocations: 3.938 kB / 433.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.3302, allocations: 23.97 kB / 433.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.074e-05/0.3303, allocations: 23.92 kB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3304, allocations: 8 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.3304, allocations: 19.86 kB / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.58e-05/0.3305, allocations: 11.94 kB / 434 MB, free: 5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.3305, allocations: 4 kB / 434 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.3305, allocations: 0 / 434 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.841e-05/0.3305, allocations: 3.984 kB / 434 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.3306, allocations: 15.92 kB / 434 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.3307, allocations: 35.44 kB / 434.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3307, allocations: 0 / 434.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3307, allocations: 0 / 434.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3307, allocations: 4 kB / 434.1 MB, free: 4.941 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.0004711/0.3312, allocations: 265.3 kB / 434.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3312, allocations: 8.031 kB / 434.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.3313, allocations: 12.89 kB / 434.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.3315, allocations: 114.5 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3315, allocations: 8.375 kB / 434.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.3315, allocations: 384 / 434.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.3318, allocations: 115.8 kB / 434.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3318, allocations: 192 / 434.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3319, allocations: 3.938 kB / 434.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3319, allocations: 0 / 434.6 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.318e-05/0.332, allocations: 23.92 kB / 434.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.3321, allocations: 109.3 kB / 434.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.3323, allocations: 46.56 kB / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.3323, allocations: 28.92 kB / 434.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3324, allocations: 0 / 434.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.3324, allocations: 34.56 kB / 434.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3324, allocations: 0 / 434.8 MB, free: 4.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002419/0.3327, allocations: 73.55 kB / 434.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.3327, allocations: 55.39 kB / 435 MB, free: 3.926 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.3329, allocations: 105.9 kB / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.3329, allocations: 25.7 kB / 435.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.333, allocations: 92.12 kB / 435.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.812e-06/0.333, allocations: 0 / 435.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.333, allocations: 21.72 kB / 435.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002664/0.3333, allocations: 310.8 kB / 435.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.3333, allocations: 4 kB / 435.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.3333, allocations: 31.42 kB / 435.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.058e-05/0.3334, allocations: 39.31 kB / 435.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3334, allocations: 0 / 435.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.749e-05/0.3335, allocations: 61.56 kB / 435.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3335, allocations: 4 kB / 435.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3335, allocations: 0 / 435.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/0.3335, allocations: 11.88 kB / 435.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.041e-05/0.3336, allocations: 4 kB / 435.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3336, allocations: 4 kB / 435.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.265e-05/0.3336, allocations: 4.234 kB / 435.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-06/0.3336, allocations: 0 / 435.7 MB, free: 3.156 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: 0 () * 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 9.177e-05/0.3337, allocations: 117.8 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.3338, allocations: 65.73 kB / 435.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.3338, allocations: 8 kB / 435.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3338, allocations: 3.938 kB / 435.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3338, allocations: 0 / 435.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3338, allocations: 0 / 435.8 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.072e-05/0.3339, allocations: 101.3 kB / 435.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3339, allocations: 256 / 435.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.334, allocations: 19.98 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.334, allocations: 0 / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.334, allocations: 0 / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.334, allocations: 0 / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.334, allocations: 7.938 kB / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.3342, allocations: 89.06 kB / 436.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.3342, allocations: 3.938 kB / 436.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.3342, allocations: 0 / 436.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.58e-05/0.3342, allocations: 4 kB / 436.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-06/0.3342, allocations: 3.938 kB / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.3342, allocations: 0 / 436.1 MB, free: 2.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.163e-05/0.3343, allocations: 91.27 kB / 436.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3343, allocations: 0 / 436.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002026/0.3345, allocations: 0 / 436.2 MB, free: 2.578 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: 0 () * 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.0001186/0.3346, allocations: 99.25 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.3348, allocations: 27.92 kB / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3348, allocations: 0 / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-07/0.3348, allocations: 0 / 436.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.335, allocations: 23.92 kB / 436.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.3353, allocations: 121.6 kB / 436.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.032e-05/0.3354, allocations: 67.59 kB / 436.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.568e-05/0.3354, allocations: 4 kB / 436.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.3355, allocations: 7.438 kB / 436.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3355, allocations: 0 / 436.5 MB, free: 2.18 MB / 334.1 MB Notification: Performance of Templates: time 0.002974/0.3384, allocations: 365.5 kB / 436.9 MB, free: 1.828 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.102216252998915]