Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.001943/0.001943, 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.002435/0.002435, allocations: 215.9 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2376/0.2376, allocations: 46.95 MB / 360.9 MB, free: 4.113 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 63.89 kB / 0.4966 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3613, allocations: 66.03 MB / 0.5611 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003241/0.3646, allocations: 1.672 MB / 0.5627 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3657, allocations: 0.566 MB / 0.5633 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.892e-05/0.3658, allocations: 4 kB / 0.5633 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000618/0.3664, allocations: 455.1 kB / 0.5637 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004932/0.3669, allocations: 299.3 kB / 0.564 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.3674, allocations: 175.4 kB / 0.5642 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.3676, allocations: 183.6 kB / 0.5644 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.3677, allocations: 20.22 kB / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.3678, allocations: 115.7 kB / 0.5645 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.3681, allocations: 243.5 kB / 0.5647 GB, free: 424 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.3681, allocations: 7.938 kB / 0.5647 GB, free: 416 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.3682, allocations: 55.97 kB / 0.5648 GB, free: 360 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.3684, allocations: 95.62 kB / 0.5649 GB, free: 264 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.929e-05/0.3684, allocations: 71.23 kB / 0.5649 GB, free: 192 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.3688, allocations: 289 kB / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3688, allocations: 0 / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3688, allocations: 0 / 0.5652 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.3688, allocations: 0 / 0.5652 GB, free: 15.91 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008091/0.3696, allocations: 0.6048 MB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3697, allocations: 8.031 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.3697, allocations: 44.66 kB / 0.5659 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.37, allocations: 242.8 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3701, allocations: 4.375 kB / 0.5661 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3701, allocations: 8.375 kB / 0.5661 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.3703, allocations: 73.72 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3703, allocations: 0 / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.3703, allocations: 0 / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3703, allocations: 3.984 kB / 0.5662 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.3704, allocations: 43.97 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.371, allocations: 364.3 kB / 0.5666 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.3713, allocations: 62.48 kB / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.397e-05/0.3713, allocations: 24.97 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.3714, allocations: 3.938 kB / 0.5666 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.3714, allocations: 30.56 kB / 0.5667 GB, free: 14.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3714, allocations: 0 / 0.5667 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001588/0.373, allocations: 0.5083 MB / 0.5672 GB, free: 13.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.373, allocations: 51.41 kB / 0.5672 GB, free: 13.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009261/0.3739, allocations: 0.8691 MB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.374, allocations: 29.7 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.3742, allocations: 208.1 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.3742, allocations: 39.69 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.3743, allocations: 25.7 kB / 0.5684 GB, free: 12.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3744, allocations: 362.8 kB / 0.5687 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.3746, allocations: 55.95 kB / 0.5688 GB, free: 12.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.3747, allocations: 55.95 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.375, allocations: 124.7 kB / 0.5689 GB, free: 11.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.375, allocations: 0 / 0.5689 GB, free: 11.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003862/0.3754, allocations: 205.5 kB / 0.5691 GB, free: 11.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3754, allocations: 11.98 kB / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3754, allocations: 0 / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3754, allocations: 0 / 0.5691 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3756, allocations: 23.98 kB / 0.5692 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3756, allocations: 3.938 kB / 0.5692 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.664e-05/0.3757, allocations: 15.98 kB / 0.5692 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3757, allocations: 0 / 0.5692 GB, free: 11.66 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 (11): * Single equations (assignments): 11 * 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.0002278/0.3759, allocations: 225.8 kB / 0.5694 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.376, allocations: 43.72 kB / 0.5694 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000515/0.3765, allocations: 237.2 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3765, allocations: 4 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3765, allocations: 3.938 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3765, allocations: 0 / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008377/0.3773, allocations: 0.5308 MB / 0.5702 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3773, allocations: 4 kB / 0.5702 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.3774, allocations: 23.98 kB / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3774, allocations: 3.938 kB / 0.5702 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3775, allocations: 8 kB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.3775, allocations: 192 / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3775, allocations: 4 kB / 0.5702 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.3779, allocations: 316.8 kB / 0.5705 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.378, allocations: 39.66 kB / 0.5706 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.378, allocations: 3.984 kB / 0.5706 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3781, allocations: 12 kB / 0.5706 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.3781, allocations: 7.984 kB / 0.5706 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.3782, allocations: 7.984 kB / 0.5706 GB, free: 10.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006609/0.3788, allocations: 0.6511 MB / 0.5712 GB, free: 9.469 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3788, allocations: 0 / 0.5712 GB, free: 9.469 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.3791, allocations: 36 kB / 0.5713 GB, free: 9.434 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001879/0.381, allocations: 494.9 kB / 0.5717 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003757/0.3813, allocations: 127.8 kB / 0.5719 GB, free: 9.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3814, allocations: 4 kB / 0.5719 GB, free: 9.031 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.3815, allocations: 63.89 kB / 0.5719 GB, free: 8.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.382, allocations: 35.27 kB / 0.572 GB, free: 8.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.3834, allocations: 0.8825 MB / 0.5728 GB, free: 8.023 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3837, allocations: 236.8 kB / 0.5731 GB, free: 7.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.422e-05/0.3838, allocations: 28.47 kB / 0.5731 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.756e-05/0.3838, allocations: 15.44 kB / 0.5731 GB, free: 7.73 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3838, allocations: 0 / 0.5731 GB, free: 7.73 MB / 414.1 MB Notification: Performance of Templates: time 0.006553/0.3904, allocations: 2.149 MB / 0.5752 GB, free: 5.598 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.283326784148812]