Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001469/0.001469, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001566/0.001566, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.498/1.498, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.2607/0.2607, allocations: 46.96 MB / 361.6 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 179] 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.91 kB / 0.4974 GB, free: 7.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.453, allocations: 66.04 MB / 0.5619 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003536/0.4565, allocations: 1.706 MB / 0.5636 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.4593, allocations: 1.661 MB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.4594, allocations: 0 / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.4597, allocations: 39.78 kB / 0.5652 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.4601, allocations: 95.55 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.4604, allocations: 83.66 kB / 0.5654 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.4606, allocations: 107.7 kB / 0.5655 GB, free: 412 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.4607, allocations: 11.98 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.4608, allocations: 43.78 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.4609, allocations: 55.7 kB / 0.5656 GB, free: 300 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.461, allocations: 4 kB / 0.5656 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.4612, allocations: 107.9 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.823e-05/0.4613, allocations: 19.92 kB / 0.5657 GB, free: 168 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.519e-05/0.4613, allocations: 23.81 kB / 0.5657 GB, free: 144 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.4617, allocations: 169.8 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4617, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4617, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.4617, allocations: 0 / 0.5659 GB, free: 15.98 MB / 414.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.0007526/0.4624, allocations: 353.5 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4625, allocations: 16.03 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.374e-05/0.4625, allocations: 12.84 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.4629, allocations: 154.8 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.4629, allocations: 3.938 kB / 0.5664 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.4629, allocations: 8 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.4632, allocations: 101.1 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.4632, allocations: 0 / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.4632, allocations: 0 / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4632, allocations: 0 / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.726e-05/0.4633, allocations: 19.98 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.4637, allocations: 240.4 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.4639, allocations: 58.67 kB / 0.5668 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.963e-05/0.4639, allocations: 16.86 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.464, allocations: 4 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.4641, allocations: 71.31 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.4641, allocations: 3.938 kB / 0.5669 GB, free: 14.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005909/0.4647, allocations: 181.4 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.4648, allocations: 81.11 kB / 0.5672 GB, free: 14.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.465, allocations: 176 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.465, allocations: 29.7 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.465, allocations: 96.12 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.4651, allocations: 27.75 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/0.4651, allocations: 29.7 kB / 0.5675 GB, free: 14.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.4653, allocations: 318.8 kB / 0.5678 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.4653, allocations: 20 kB / 0.5678 GB, free: 13.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.898e-05/0.4654, allocations: 72.25 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.4656, allocations: 65.72 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4656, allocations: 4.031 kB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002008/0.4658, allocations: 97.62 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.4658, allocations: 4 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4658, allocations: 0 / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.4658, allocations: 4 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.4659, allocations: 19.92 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4659, allocations: 0 / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.4659, allocations: 11.94 kB / 0.5681 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.4659, allocations: 0 / 0.5681 GB, free: 13.51 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.0001034/0.4661, allocations: 125.9 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.4661, allocations: 11.94 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.4663, allocations: 118.7 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4663, allocations: 4 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4664, allocations: 288 / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4664, allocations: 3.938 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.4668, allocations: 354.9 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4668, allocations: 3.938 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.4669, allocations: 8 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4669, allocations: 4.031 kB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.4669, allocations: 11.92 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4669, allocations: 0 / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4669, allocations: 0 / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.4671, allocations: 212.3 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.4672, allocations: 19.84 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.4672, allocations: 7.922 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.769e-05/0.4673, allocations: 4 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.4673, allocations: 15.92 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.4673, allocations: 4 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.4675, allocations: 130.9 kB / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4675, allocations: 0 / 0.5691 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003222/0.4678, allocations: 47.86 kB / 0.5691 GB, free: 12.37 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.002095/0.4699, allocations: 0.5887 MB / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.4701, allocations: 63.91 kB / 0.5698 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4701, allocations: 3.938 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.439e-05/0.4702, allocations: 31.92 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.4706, allocations: 28.7 kB / 0.5698 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.471, allocations: 206.7 kB / 0.57 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.76e-05/0.4711, allocations: 85.31 kB / 0.5701 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.663e-05/0.4712, allocations: 25.39 kB / 0.5701 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.4712, allocations: 15.44 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4712, allocations: 0 / 0.5702 GB, free: 11.54 MB / 414.1 MB Notification: Performance of Templates: time 0.006093/0.4773, allocations: 2.549 MB / 0.5726 GB, free: 9.012 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.346062053999049]