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.00142/0.00142, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002437/0.002437, allocations: 161.7 kB / 24.26 MB, free: 176 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.492/1.492, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 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.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.533e-06/1.533e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.665e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002822/0.002849, allocations: 1.485 MB / 273.8 MB, free: 324 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001854/0.003034, allocations: 31.91 kB / 273.8 MB, free: 292 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.003094, allocations: 4 kB / 273.8 MB, free: 288 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.003123, allocations: 3.938 kB / 273.9 MB, free: 284 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.657e-05/0.00317, allocations: 7.875 kB / 273.9 MB, free: 276 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.003415, allocations: 23.91 kB / 273.9 MB, free: 252 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.539e-05/0.003511, allocations: 27.92 kB / 273.9 MB, free: 224 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.00362, allocations: 7.984 kB / 273.9 MB, free: 216 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.059e-05/0.003681, allocations: 15.98 kB / 273.9 MB, free: 200 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.003727, allocations: 15.92 kB / 274 MB, free: 184 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.003746, allocations: 0 / 274 MB, free: 184 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-06/0.003754, allocations: 8 kB / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.003769, allocations: 0 / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.003807, allocations: 8 kB / 274 MB, free: 168 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.003915, allocations: 35.88 kB / 274 MB, free: 132 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003916, allocations: 0 / 274 MB, free: 132 kB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003917, allocations: 0 / 274 MB, free: 132 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.003921, allocations: 0 / 274 MB, free: 132 kB / 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.0005252/0.004446, allocations: 274.3 kB / 274.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.004486, allocations: 12.03 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.004533, allocations: 8.891 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.004718, allocations: 121.7 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.00474, allocations: 4.375 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.00475, allocations: 384 / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.005137, allocations: 119.8 kB / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.005145, allocations: 192 / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.005157, allocations: 4.359 kB / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.005165, allocations: 4.375 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.005292, allocations: 23.92 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.005454, allocations: 109.2 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/0.005642, allocations: 58.48 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.009e-05/0.005732, allocations: 28.92 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.005744, allocations: 0 / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.00578, allocations: 34.56 kB / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.005781, allocations: 0 / 274.8 MB, free: 15.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003185/0.006099, allocations: 85.55 kB / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.006161, allocations: 51.41 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.006266, allocations: 109.8 kB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.006286, allocations: 25.7 kB / 275.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.006345, allocations: 88.14 kB / 275.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.006356, allocations: 4 kB / 275.1 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/0.006388, allocations: 13.7 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.00657, allocations: 318.8 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.00658, allocations: 0 / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.006588, allocations: 4 kB / 275.5 MB, free: 14.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.006614, allocations: 8.859 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.006615, allocations: 4 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.706e-05/0.006682, allocations: 45.58 kB / 275.5 MB, free: 14.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.006696, allocations: 4 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.006701, allocations: 4.344 kB / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.006716, allocations: 0 / 275.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.425e-05/0.00677, allocations: 8 kB / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.006775, allocations: 0 / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.403e-05/0.006789, allocations: 3.938 kB / 275.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.006794, allocations: 4 kB / 275.6 MB, free: 14.39 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 0.0001088/0.006903, allocations: 109.8 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.007079, allocations: 69.84 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.344e-05/0.007102, allocations: 4 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.007109, allocations: 3.984 kB / 275.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.007116, allocations: 15.88 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.00712, allocations: 3.938 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.007228, allocations: 105.3 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.007229, allocations: 0 / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.007294, allocations: 11.98 kB / 275.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.007296, allocations: 0 / 275.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.007302, allocations: 0 / 275.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.007304, allocations: 0 / 275.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.007304, allocations: 0 / 275.9 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/0.007514, allocations: 101 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.007523, allocations: 0 / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.007544, allocations: 4 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.36e-05/0.007588, allocations: 8 kB / 276 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-06/0.00759, allocations: 0 / 276 MB, free: 13.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.007597, allocations: 4 kB / 276 MB, free: 13.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.831e-05/0.007655, allocations: 83.27 kB / 276.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007655, allocations: 3.938 kB / 276.1 MB, free: 13.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.007837, allocations: 4 kB / 276.1 MB, free: 13.81 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 0.0001206/0.007958, allocations: 99.19 kB / 276.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.008093, allocations: 19.98 kB / 276.2 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.008097, allocations: 8.062 kB / 276.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.008098, allocations: 0 / 276.2 MB, free: 13.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.008374, allocations: 32.64 kB / 276.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.008701, allocations: 123.1 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.542e-05/0.008767, allocations: 67.34 kB / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.483e-05/0.008782, allocations: 0 / 276.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.008818, allocations: 8.5 kB / 276.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of SimCode: time 3.81e-07/0.008818, allocations: 0 / 276.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of Templates: time 0.002916/0.01173, allocations: 459.8 kB / 276.9 MB, free: 12.96 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.30844330706168]