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.00111/0.00111, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001233/0.001233, allocations: 161 kB / 24.55 MB, free: 12 kB / 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 1.061/1.061, allocations: 177.1 MB / 205 MB, free: 5.59 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.643e-06/1.643e-06, allocations: 0 / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.297e-05, allocations: 2.312 kB / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002014/0.002037, allocations: 1.517 MB / 274.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002295/0.002267, allocations: 39.78 kB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.002349, allocations: 3.938 kB / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.002384, allocations: 0 / 274.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.178e-05/0.002436, allocations: 7.875 kB / 274.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.002678, allocations: 19.98 kB / 274.6 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.586e-05/0.002764, allocations: 31.91 kB / 274.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.853e-05/0.002862, allocations: 8 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.002916, allocations: 11.98 kB / 274.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.002954, allocations: 11.92 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.002977, allocations: 4 kB / 274.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-06/0.002984, allocations: 4 kB / 274.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.003007, allocations: 11.98 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.172e-05/0.003039, allocations: 11.92 kB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.897e-05/0.003128, allocations: 15.98 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003129, allocations: 0 / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.00313, allocations: 0 / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.003134, allocations: 3.938 kB / 274.7 MB, free: 15.79 MB / 266.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.0003752/0.003509, allocations: 368.6 kB / 275 MB, free: 15.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.003561, allocations: 8.031 kB / 275 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.003604, allocations: 12.88 kB / 275.1 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.003775, allocations: 128.5 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.003798, allocations: 384 / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.003811, allocations: 12.3 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.004026, allocations: 106.2 kB / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.004038, allocations: 192 / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.00405, allocations: 384 / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.004059, allocations: 384 / 275.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.435e-05/0.004093, allocations: 15.88 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.004201, allocations: 116.6 kB / 275.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.205e-05/0.004273, allocations: 47.05 kB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.79e-05/0.004311, allocations: 23.75 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.004319, allocations: 0 / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.004342, allocations: 33.39 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.004343, allocations: 0 / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001428/0.004486, allocations: 53.62 kB / 275.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.004543, allocations: 55.41 kB / 275.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.004627, allocations: 169.9 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.004637, allocations: 25.7 kB / 275.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.00468, allocations: 130.9 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.004693, allocations: 4 kB / 276 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.004718, allocations: 19.38 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.004848, allocations: 0.4884 MB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.407e-06/0.004857, allocations: 4.25 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-06/0.004863, allocations: 0 / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.471e-05/0.004888, allocations: 19.62 kB / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.00489, allocations: 0 / 276.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.166e-05/0.004931, allocations: 41.66 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.004946, allocations: 7.984 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.004951, allocations: 4.094 kB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.00497, allocations: 4 kB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.359e-05/0.005024, allocations: 0 / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.00503, allocations: 0 / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.005041, allocations: 11.88 kB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-06/0.005044, allocations: 0 / 276.6 MB, free: 13.69 MB / 266.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 7.212e-05/0.005116, allocations: 152.6 kB / 276.7 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.005155, allocations: 49.62 kB / 276.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.005187, allocations: 12 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.005189, allocations: 0 / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.005193, allocations: 4 kB / 276.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.005197, allocations: 3.938 kB / 276.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.674e-05/0.005254, allocations: 112.6 kB / 276.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.005255, allocations: 0 / 276.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.005288, allocations: 12 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.00529, allocations: 0 / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.547e-06/0.005298, allocations: 3.984 kB / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.005299, allocations: 0 / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005299, allocations: 0 / 276.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.283e-05/0.005372, allocations: 96.27 kB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-06/0.005379, allocations: 0 / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.005392, allocations: 8 kB / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.668e-06/0.005401, allocations: 0 / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-06/0.005405, allocations: 0 / 277 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.005407, allocations: 4 kB / 277 MB, free: 13.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.512e-05/0.005452, allocations: 135.2 kB / 277.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005452, allocations: 0 / 277.1 MB, free: 13.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001086/0.005561, allocations: 4 kB / 277.1 MB, free: 13.03 MB / 266.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 6.529e-05/0.005626, allocations: 99.47 kB / 277.2 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.335e-05/0.0057, allocations: 19.67 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.005701, allocations: 8.062 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5e-07/0.005701, allocations: 0 / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.005867, allocations: 17.36 kB / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.006077, allocations: 128.8 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.764e-05/0.006105, allocations: 55.36 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.241e-05/0.006117, allocations: 0 / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.006143, allocations: 12.5 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.006143, allocations: 0 / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Templates: time 0.002284/0.008427, allocations: 461.2 kB / 277.9 MB, free: 12.19 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: 3.056246909778565]