Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002613, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002425, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8797/0.8797, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07462/0.9543, allocations: 52.49 MB / 238.4 MB, free: 4.363 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 239.7 MB, free: 3.078 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/1.99e-05, allocations: 3.438 kB / 239.7 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001996/0.002016, allocations: 1.56 MB / 241.3 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 8.846e-05/0.002105, allocations: 35.84 kB / 241.3 MB, free: 1.469 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.002147, allocations: 4 kB / 241.3 MB, free: 1.465 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.002167, allocations: 3.938 kB / 241.3 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 2.016e-05/0.002187, allocations: 0 / 241.3 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.002306, allocations: 23.97 kB / 241.4 MB, free: 1.438 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.079e-05/0.002377, allocations: 27.92 kB / 241.4 MB, free: 1.41 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.376e-05/0.002451, allocations: 11.92 kB / 241.4 MB, free: 1.398 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.002511, allocations: 19.98 kB / 241.4 MB, free: 1.379 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.376e-05/0.002545, allocations: 4 kB / 241.4 MB, free: 1.375 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.002564, allocations: 0 / 241.4 MB, free: 1.375 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-06/0.002572, allocations: 4 kB / 241.4 MB, free: 1.371 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.00259, allocations: 7.938 kB / 241.4 MB, free: 1.363 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.822e-05/0.002608, allocations: 11.94 kB / 241.4 MB, free: 1.352 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.104e-05/0.002689, allocations: 31.84 kB / 241.5 MB, free: 1.32 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.002698, allocations: 0 / 241.5 MB, free: 1.32 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.002699, allocations: 0 / 241.5 MB, free: 1.32 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.002709, allocations: 0 / 241.5 MB, free: 1.32 MB / 234.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.0002798/0.002989, allocations: 252.5 kB / 241.7 MB, free: 1.047 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.63e-05/0.003015, allocations: 8.031 kB / 241.7 MB, free: 1.039 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.003042, allocations: 4.938 kB / 241.7 MB, free: 1.035 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.003165, allocations: 113.8 kB / 241.8 MB, free: 0.8984 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.003183, allocations: 8.375 kB / 241.9 MB, free: 0.8906 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.003193, allocations: 4.375 kB / 241.9 MB, free: 0.8867 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.003343, allocations: 108.5 kB / 242 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.003349, allocations: 4.125 kB / 242 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.003355, allocations: 384 / 242 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.003359, allocations: 384 / 242 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.003381, allocations: 7.938 kB / 242 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.232e-05/0.003433, allocations: 57 kB / 242 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.697e-05/0.00348, allocations: 34.56 kB / 242.1 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.003498, allocations: 16.86 kB / 242.1 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-06/0.003503, allocations: 0 / 242.1 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.003521, allocations: 34.5 kB / 242.1 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 4.81e-07/0.003521, allocations: 0 / 242.1 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 8.391e-05/0.003605, allocations: 41.69 kB / 242.2 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.003644, allocations: 63.39 kB / 242.2 MB, free: 468 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.887e-05/0.003693, allocations: 106.7 kB / 242.3 MB, free: 348 kB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.003701, allocations: 25.7 kB / 242.4 MB, free: 316 kB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.034e-05/0.003722, allocations: 84.12 kB / 242.4 MB, free: 228 kB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.00373, allocations: 0 / 242.4 MB, free: 228 kB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.003751, allocations: 21.72 kB / 242.5 MB, free: 200 kB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.003835, allocations: 318.8 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-06/0.00384, allocations: 4 kB / 242.8 MB, free: 15.87 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-06/0.003845, allocations: 0 / 242.8 MB, free: 15.87 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.875e-05/0.003864, allocations: 12.8 kB / 242.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.003867, allocations: 3.984 kB / 242.8 MB, free: 15.85 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.756e-05/0.003904, allocations: 33.95 kB / 242.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.003914, allocations: 4 kB / 242.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.003919, allocations: 4.172 kB / 242.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.003933, allocations: 4.094 kB / 242.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.927e-05/0.003973, allocations: 8 kB / 242.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.003976, allocations: 0 / 242.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.102e-05/0.003987, allocations: 7.984 kB / 242.8 MB, free: 15.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-06/0.003989, allocations: 4 kB / 242.9 MB, free: 15.78 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 5.638e-05/0.004046, allocations: 117.7 kB / 243 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.004078, allocations: 41.62 kB / 243 MB, free: 15.61 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.0041, allocations: 12 kB / 243 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.004102, allocations: 0 / 243 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.004103, allocations: 0 / 243 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.004106, allocations: 0 / 243 MB, free: 15.59 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.362e-05/0.004149, allocations: 69.84 kB / 243.1 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.004151, allocations: 3.984 kB / 243.1 MB, free: 15.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.004189, allocations: 8 kB / 243.1 MB, free: 15.49 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.867e-06/0.004198, allocations: 11.94 kB / 243.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.004199, allocations: 0 / 243.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-06/0.004203, allocations: 0 / 243.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.004204, allocations: 0 / 243.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.004205, allocations: 0 / 243.1 MB, free: 15.48 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.911e-05/0.004244, allocations: 61 kB / 243.2 MB, free: 15.4 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.004256, allocations: 8 kB / 243.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.004269, allocations: 0 / 243.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-06/0.004272, allocations: 4 kB / 243.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.004275, allocations: 0 / 243.2 MB, free: 15.39 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.439e-05/0.004289, allocations: 12.84 kB / 243.2 MB, free: 15.38 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004289, allocations: 4 kB / 243.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.617e-05/0.004375, allocations: 0 / 243.2 MB, free: 15.37 MB / 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 6.503e-05/0.00444, allocations: 76.42 kB / 243.3 MB, free: 15.29 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.414e-05/0.004494, allocations: 12.86 kB / 243.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.004497, allocations: 0 / 243.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.0045, allocations: 8.078 kB / 243.3 MB, free: 15.27 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.004638, allocations: 62.95 kB / 243.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.00493, allocations: 128.6 kB / 243.5 MB, free: 15.05 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.698e-05/0.004957, allocations: 55.36 kB / 243.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.412e-05/0.004971, allocations: 3.984 kB / 243.5 MB, free: 14.97 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.005008, allocations: 51.38 kB / 243.6 MB, free: 14.92 MB / 250.7 MB Notification: Performance of SimCode: time 8.72e-07/0.005009, allocations: 0 / 243.6 MB, free: 14.92 MB / 250.7 MB Notification: Performance of Templates: time 0.00172/0.006729, allocations: 496.5 kB / 244.1 MB, free: 14.44 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3055384838953614]