Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001437/0.001437, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001619/0.001619, allocations: 212.8 kB / 23.73 MB, free: 4.531 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.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2384/0.2384, allocations: 46.95 MB / 360.8 MB, free: 4.082 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 63.91 kB / 0.4966 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3699, allocations: 66.04 MB / 0.5611 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003746/0.3737, allocations: 1.653 MB / 0.5627 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.375, allocations: 0.5699 MB / 0.5633 GB, free: 1.969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.533e-05/0.3751, allocations: 4 kB / 0.5633 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006907/0.3758, allocations: 451.1 kB / 0.5637 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005423/0.3764, allocations: 299.3 kB / 0.564 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.3768, allocations: 171.3 kB / 0.5641 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.3771, allocations: 187.6 kB / 0.5643 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3772, allocations: 11.98 kB / 0.5643 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.3774, allocations: 111.7 kB / 0.5644 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000364/0.3777, allocations: 251.5 kB / 0.5647 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.3777, allocations: 4 kB / 0.5647 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.378, allocations: 39.98 kB / 0.5647 GB, free: 484 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.3781, allocations: 87.69 kB / 0.5648 GB, free: 396 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.493e-05/0.3782, allocations: 71.23 kB / 0.5649 GB, free: 324 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.3786, allocations: 273 kB / 0.5651 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3786, allocations: 0 / 0.5651 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3786, allocations: 3.938 kB / 0.5651 GB, free: 52 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3786, allocations: 0 / 0.5651 GB, free: 52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009051/0.3795, allocations: 0.5856 MB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3795, allocations: 8.031 kB / 0.5657 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.332e-05/0.3796, allocations: 48.61 kB / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.3799, allocations: 246.8 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-06/0.3799, allocations: 4.375 kB / 0.566 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.38, allocations: 8.375 kB / 0.566 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3802, allocations: 61.73 kB / 0.5661 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3802, allocations: 0 / 0.5661 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3802, allocations: 4 kB / 0.5661 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3802, allocations: 0 / 0.5661 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.3803, allocations: 39.95 kB / 0.5661 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005634/0.3809, allocations: 344.4 kB / 0.5664 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.381, allocations: 50.5 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.117e-05/0.3811, allocations: 24.94 kB / 0.5665 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3811, allocations: 7.984 kB / 0.5665 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.3812, allocations: 30.56 kB / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.3812, allocations: 0 / 0.5665 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009769/0.3821, allocations: 324.5 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.3822, allocations: 51.41 kB / 0.5669 GB, free: 14.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.3834, allocations: 0.8691 MB / 0.5678 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.3834, allocations: 25.7 kB / 0.5678 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.3836, allocations: 216.1 kB / 0.568 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.3837, allocations: 23.8 kB / 0.568 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.3837, allocations: 17.72 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.3839, allocations: 366.7 kB / 0.5684 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.384, allocations: 43.97 kB / 0.5684 GB, free: 12.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3841, allocations: 39.95 kB / 0.5685 GB, free: 12.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.3844, allocations: 92.81 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.3844, allocations: 0 / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000345/0.3847, allocations: 165.3 kB / 0.5687 GB, free: 12.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3847, allocations: 8 kB / 0.5687 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3847, allocations: 0 / 0.5687 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.3848, allocations: 0 / 0.5687 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.3849, allocations: 19.98 kB / 0.5687 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3849, allocations: 0 / 0.5687 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/0.385, allocations: 7.984 kB / 0.5687 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.385, allocations: 4.312 kB / 0.5687 GB, free: 12.18 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 (7): * Single equations (assignments): 7 * 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.0002811/0.3853, allocations: 225.6 kB / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.585e-05/0.3853, allocations: 43.72 kB / 0.569 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004235/0.3858, allocations: 181.4 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.3858, allocations: 0 / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3858, allocations: 0 / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3858, allocations: 0 / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008001/0.3866, allocations: 470 kB / 0.5696 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3866, allocations: 4 kB / 0.5696 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.3868, allocations: 15.98 kB / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3868, allocations: 0 / 0.5696 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3868, allocations: 8.266 kB / 0.5696 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3868, allocations: 0 / 0.5696 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3868, allocations: 3.938 kB / 0.5697 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.3872, allocations: 263.1 kB / 0.5699 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/0.3873, allocations: 35.7 kB / 0.5699 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.3873, allocations: 4 kB / 0.5699 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3874, allocations: 11.98 kB / 0.57 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.3875, allocations: 11.92 kB / 0.57 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.3875, allocations: 0 / 0.57 GB, free: 10.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008976/0.3884, allocations: 0.655 MB / 0.5706 GB, free: 10.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3884, allocations: 0 / 0.5706 GB, free: 10.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.3886, allocations: 24 kB / 0.5706 GB, free: 10.17 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 (7): * Single equations (assignments): 7 * 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.001644/0.3903, allocations: 446.1 kB / 0.571 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003177/0.3906, allocations: 83.92 kB / 0.5711 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3906, allocations: 3.938 kB / 0.5711 GB, free: 9.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.3907, allocations: 43.97 kB / 0.5712 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.3911, allocations: 30.3 kB / 0.5712 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.3925, allocations: 0.8378 MB / 0.572 GB, free: 8.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.3928, allocations: 224.1 kB / 0.5722 GB, free: 8.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.778e-05/0.3928, allocations: 20.95 kB / 0.5723 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.3929, allocations: 15.44 kB / 0.5723 GB, free: 8.609 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3929, allocations: 4 kB / 0.5723 GB, free: 8.605 MB / 414.1 MB Notification: Performance of Templates: time 0.006293/0.3992, allocations: 1.824 MB / 0.5741 GB, free: 6.797 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.127640135586262]