Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.001609/0.001609, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001742/0.001742, allocations: 212.3 kB / 23.73 MB, free: 4.16 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.579/1.579, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 79.81 kB / 0.4967 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4349/0.437, allocations: 66.04 MB / 0.5611 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003909/0.4409, allocations: 1.706 MB / 0.5628 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.443, allocations: 0.9739 MB / 0.5638 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.4432, allocations: 4 kB / 0.5638 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.4436, allocations: 55.75 kB / 0.5638 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004662/0.444, allocations: 103.5 kB / 0.5639 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.4443, allocations: 75.72 kB / 0.564 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.4446, allocations: 111.6 kB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.4447, allocations: 11.98 kB / 0.5641 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.4448, allocations: 43.78 kB / 0.5642 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.4449, allocations: 31.78 kB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.445, allocations: 8 kB / 0.5642 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.4451, allocations: 43.98 kB / 0.5642 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.893e-05/0.4452, allocations: 27.84 kB / 0.5643 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.4452, allocations: 35.73 kB / 0.5643 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.4455, allocations: 141.8 kB / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4455, allocations: 0 / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4455, allocations: 0 / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.4456, allocations: 0 / 0.5644 GB, free: 0.7695 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006855/0.4462, allocations: 377.2 kB / 0.5648 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4463, allocations: 12.03 kB / 0.5648 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.061e-05/0.4463, allocations: 16.84 kB / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.4467, allocations: 159.3 kB / 0.565 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.4467, allocations: 4.312 kB / 0.565 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.4467, allocations: 16.11 kB / 0.565 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.4469, allocations: 53.67 kB / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.4469, allocations: 0 / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.4469, allocations: 0 / 0.565 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.4469, allocations: 4 kB / 0.565 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.394e-05/0.447, allocations: 15.98 kB / 0.5651 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.4475, allocations: 248.5 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.4477, allocations: 58.61 kB / 0.5653 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.284e-05/0.4478, allocations: 20.84 kB / 0.5654 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.4478, allocations: 4 kB / 0.5654 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.448, allocations: 63.39 kB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.448, allocations: 0 / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006753/0.4486, allocations: 197.2 kB / 0.5656 GB, free: 15.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.4487, allocations: 51.41 kB / 0.5657 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.449, allocations: 278.8 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.4491, allocations: 33.7 kB / 0.566 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.4492, allocations: 128.1 kB / 0.5661 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.4492, allocations: 23.78 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.4492, allocations: 21.72 kB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4494, allocations: 334.8 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.4495, allocations: 19.92 kB / 0.5665 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.367e-05/0.4495, allocations: 37.7 kB / 0.5665 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.4497, allocations: 61.7 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4497, allocations: 0 / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002207/0.4499, allocations: 129.5 kB / 0.5667 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.4499, allocations: 8 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4499, allocations: 0 / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4499, allocations: 0 / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.45, allocations: 12 kB / 0.5667 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.45, allocations: 4 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.4501, allocations: 4.359 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.428e-06/0.4501, allocations: 7.938 kB / 0.5667 GB, free: 14.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001272/0.4502, allocations: 137.8 kB / 0.5669 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.249e-05/0.4502, allocations: 15.91 kB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.4505, allocations: 131 kB / 0.567 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.4505, allocations: 4 kB / 0.567 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4505, allocations: 0 / 0.567 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4505, allocations: 0 / 0.567 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.451, allocations: 362.9 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.451, allocations: 0 / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.4511, allocations: 8 kB / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.4511, allocations: 0 / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4511, allocations: 4 kB / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4511, allocations: 0 / 0.5674 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.4511, allocations: 7.969 kB / 0.5674 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.4514, allocations: 228.4 kB / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.731e-05/0.4514, allocations: 11.91 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.4514, allocations: 0 / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.4515, allocations: 4 kB / 0.5676 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.4515, allocations: 19.91 kB / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.4516, allocations: 0 / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002413/0.4518, allocations: 208.6 kB / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4518, allocations: 0 / 0.5678 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000285/0.4521, allocations: 27.89 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001959/0.454, allocations: 499 kB / 0.5683 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.4543, allocations: 55.92 kB / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4543, allocations: 0 / 0.5684 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.4544, allocations: 32.05 kB / 0.5684 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.4547, allocations: 39.2 kB / 0.5684 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.4554, allocations: 303.5 kB / 0.5687 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.4556, allocations: 104.1 kB / 0.5688 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.905e-05/0.4556, allocations: 25.03 kB / 0.5689 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.4557, allocations: 15.44 kB / 0.5689 GB, free: 12.11 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4557, allocations: 3.938 kB / 0.5689 GB, free: 12.11 MB / 414.1 MB Notification: Performance of Templates: time 0.005778/0.4614, allocations: 1.944 MB / 0.5708 GB, free: 10.19 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.482176311314106]