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.0008715/0.0008715, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.000882/0.000882, allocations: 170.2 kB / 24.92 MB, free: 9.188 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.8863/0.8863, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.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 1.863e-06/1.863e-06, allocations: 0 / 273.5 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.27e-05, allocations: 2.312 kB / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001888/0.001911, allocations: 1.525 MB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002402/0.002151, allocations: 107.5 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.00221, allocations: 0 / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.541e-05/0.002235, allocations: 3.938 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.002283, allocations: 7.984 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.002479, allocations: 11.94 kB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.23e-05/0.002551, allocations: 35.84 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.002626, allocations: 11.98 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.494e-05/0.002671, allocations: 8 kB / 275.2 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.686e-05/0.002708, allocations: 11.98 kB / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.002729, allocations: 4 kB / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.002737, allocations: 0 / 275.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.002757, allocations: 11.92 kB / 275.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.002777, allocations: 4 kB / 275.2 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.752e-05/0.002854, allocations: 31.83 kB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002856, allocations: 0 / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.002857, allocations: 0 / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.002861, allocations: 0 / 275.2 MB, free: 15.48 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.0002358/0.003097, allocations: 244.9 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.003127, allocations: 12.03 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.003149, allocations: 4.938 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.003258, allocations: 117.7 kB / 275.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.003266, allocations: 8.375 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.003274, allocations: 4.375 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.00342, allocations: 92.56 kB / 275.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.069e-06/0.003425, allocations: 8.188 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.003431, allocations: 384 / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.003435, allocations: 384 / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.517e-05/0.00345, allocations: 7.938 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.125e-05/0.003501, allocations: 60.97 kB / 275.8 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.573e-05/0.003557, allocations: 30.58 kB / 275.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.003577, allocations: 16.83 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.003589, allocations: 4 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.003606, allocations: 30.56 kB / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.81e-07/0.003607, allocations: 0 / 275.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.803e-05/0.003695, allocations: 49.62 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.003732, allocations: 59.41 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.61e-05/0.003778, allocations: 102.7 kB / 276.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/0.003785, allocations: 29.7 kB / 276.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.993e-05/0.003805, allocations: 84.12 kB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.003807, allocations: 0 / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.44e-05/0.003821, allocations: 9.719 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.00396, allocations: 318.8 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-06/0.003963, allocations: 0 / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-06/0.003967, allocations: 0 / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.735e-05/0.003984, allocations: 79.22 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.004, allocations: 79.28 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.523e-05/0.004035, allocations: 37.62 kB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.004059, allocations: 79.28 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.004078, allocations: 79.28 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/0.004113, allocations: 150.6 kB / 277 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.917e-05/0.004132, allocations: 79.22 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.103e-05/0.004163, allocations: 158.6 kB / 277.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.987e-05/0.004203, allocations: 79.41 kB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.004219, allocations: 79.27 kB / 277.4 MB, free: 13.16 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 6.309e-05/0.004282, allocations: 193 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.004322, allocations: 45.67 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.004343, allocations: 8 kB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.004345, allocations: 4 kB / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.004346, allocations: 0 / 277.6 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.004349, allocations: 3.938 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.401e-05/0.004393, allocations: 69.78 kB / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.004396, allocations: 3.984 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.004446, allocations: 4 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.00445, allocations: 0 / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.004456, allocations: 4.25 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.004459, allocations: 8 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.00446, allocations: 0 / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.71e-05/0.004497, allocations: 57.06 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.004505, allocations: 3.953 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.004514, allocations: 8 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-06/0.004522, allocations: 0 / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-06/0.004525, allocations: 0 / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.004528, allocations: 0 / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.241e-05/0.00454, allocations: 8.859 kB / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004541, allocations: 0 / 277.8 MB, free: 12.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001148/0.004655, allocations: 4 kB / 277.8 MB, free: 12.69 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: 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 7.758e-05/0.004733, allocations: 88.34 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.487e-05/0.004768, allocations: 8 kB / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.00477, allocations: 0 / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.004771, allocations: 0 / 277.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.95e-05/0.00487, allocations: 21 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001918/0.005062, allocations: 123.4 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.649e-05/0.005089, allocations: 55.36 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.641e-06/0.005094, allocations: 0 / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.005125, allocations: 55.38 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.005126, allocations: 0 / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of Templates: time 0.001617/0.006742, allocations: 319.5 kB / 278.4 MB, free: 11.98 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.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.5176686849445105]