Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.001741/0.001741, 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.00216/0.00216, allocations: 214.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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2351/0.2351, allocations: 46.95 MB / 360.9 MB, free: 4.145 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 67.91 kB / 0.4966 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3575, allocations: 66.04 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003169/0.3607, allocations: 1.602 MB / 0.5627 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.3618, allocations: 0.5456 MB / 0.5632 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.739e-05/0.3619, allocations: 4 kB / 0.5632 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.3625, allocations: 447.1 kB / 0.5636 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005422/0.363, allocations: 295.3 kB / 0.5639 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004514/0.3635, allocations: 167.5 kB / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.3638, allocations: 171.6 kB / 0.5642 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3639, allocations: 15.98 kB / 0.5642 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.364, allocations: 107.8 kB / 0.5643 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.3643, allocations: 247.5 kB / 0.5646 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3643, allocations: 4 kB / 0.5646 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.735e-05/0.3644, allocations: 27.92 kB / 0.5646 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.3645, allocations: 87.67 kB / 0.5647 GB, free: 476 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.169e-05/0.3646, allocations: 63.25 kB / 0.5648 GB, free: 412 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.3649, allocations: 261 kB / 0.565 GB, free: 156 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3649, allocations: 0 / 0.565 GB, free: 156 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3649, allocations: 0 / 0.565 GB, free: 156 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.365, allocations: 0 / 0.565 GB, free: 156 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007533/0.3657, allocations: 0.5737 MB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3657, allocations: 16.03 kB / 0.5656 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.3658, allocations: 44.66 kB / 0.5656 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.3661, allocations: 242.8 kB / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.3661, allocations: 384 / 0.5659 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.3661, allocations: 4.375 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.3663, allocations: 54.78 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3663, allocations: 0 / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3663, allocations: 4 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.3663, allocations: 3.984 kB / 0.5659 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.945e-05/0.3664, allocations: 23.98 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004847/0.3669, allocations: 336.3 kB / 0.5663 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.367, allocations: 34.56 kB / 0.5663 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.3671, allocations: 12.91 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.3671, allocations: 4 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.3671, allocations: 34.56 kB / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3671, allocations: 0 / 0.5663 GB, free: 14.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=2): time 0.000283/0.3674, allocations: 105.3 kB / 0.5664 GB, free: 14.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.3674, allocations: 55.53 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.3685, allocations: 0.8613 MB / 0.5673 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.3685, allocations: 25.7 kB / 0.5674 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.3688, allocations: 212 kB / 0.5676 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.3688, allocations: 11.95 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.3689, allocations: 9.719 kB / 0.5676 GB, free: 13.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.3691, allocations: 366.7 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/0.3691, allocations: 8 kB / 0.5679 GB, free: 12.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.864e-05/0.3692, allocations: 11.98 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.8e-05/0.3692, allocations: 32.84 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3692, allocations: 0 / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001764/0.3694, allocations: 105.3 kB / 0.5681 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3694, allocations: 4 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3694, allocations: 0 / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3695, allocations: 0 / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.057e-05/0.3695, allocations: 4 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3695, allocations: 3.984 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.3696, allocations: 7.984 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.3696, allocations: 4.031 kB / 0.5681 GB, free: 12.79 MB / 414.1 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 (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.000201/0.3698, allocations: 209.7 kB / 0.5683 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.901e-05/0.3699, allocations: 47.66 kB / 0.5684 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.3701, allocations: 112.7 kB / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3701, allocations: 0 / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3701, allocations: 0 / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3701, allocations: 0 / 0.5685 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.3704, allocations: 237.1 kB / 0.5687 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3704, allocations: 4 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.3704, allocations: 12.02 kB / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3704, allocations: 0 / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.3704, allocations: 0 / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3704, allocations: 0 / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3704, allocations: 4 kB / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/0.3706, allocations: 195.1 kB / 0.5689 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.3707, allocations: 35.72 kB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3707, allocations: 0 / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.3708, allocations: 4 kB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.3708, allocations: 4.031 kB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.3708, allocations: 0 / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006923/0.3715, allocations: 0.655 MB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3715, allocations: 0 / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.3717, allocations: 19.94 kB / 0.5696 GB, free: 11.21 MB / 414.1 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 (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 Backend phase and start with SimCode phase: time 0.001379/0.3731, allocations: 378.5 kB / 0.57 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.3733, allocations: 19.98 kB / 0.57 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3733, allocations: 4 kB / 0.57 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.794e-05/0.3733, allocations: 19.92 kB / 0.57 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.3737, allocations: 25.41 kB / 0.57 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.3748, allocations: 0.7869 MB / 0.5708 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.3751, allocations: 220.2 kB / 0.571 GB, free: 9.871 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.032e-05/0.3752, allocations: 11.98 kB / 0.571 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.3752, allocations: 11.44 kB / 0.571 GB, free: 9.848 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3752, allocations: 0 / 0.571 GB, free: 9.848 MB / 414.1 MB Notification: Performance of Templates: time 0.005121/0.3803, allocations: 1.44 MB / 0.5724 GB, free: 8.418 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.162593586370349]