Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 100.6 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2528/0.2528, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 59.91 kB / 497.7 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4357/0.4378, allocations: 64.3 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.004675/0.4425, allocations: 2.004 MB / 0.5508 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.4449, allocations: 1.157 MB / 0.5519 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.4451, allocations: 8 kB / 0.5519 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.4455, allocations: 45.23 kB / 0.552 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004579/0.4459, allocations: 146.9 kB / 0.5521 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.4475, allocations: 0.5911 MB / 0.5527 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.448, allocations: 291.9 kB / 0.553 GB, free: 9.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.4482, allocations: 41.17 kB / 0.553 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002516/0.4484, allocations: 130 kB / 0.5531 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.4487, allocations: 192.9 kB / 0.5533 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.4488, allocations: 12.06 kB / 0.5533 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.449, allocations: 68.62 kB / 0.5534 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002384/0.4492, allocations: 142.8 kB / 0.5535 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.4495, allocations: 160.4 kB / 0.5537 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007086/0.4502, allocations: 366.2 kB / 0.554 GB, free: 9.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4502, allocations: 1.062 kB / 0.554 GB, free: 9.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4502, allocations: 0 / 0.554 GB, free: 9.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.4502, allocations: 3.938 kB / 0.554 GB, free: 9.332 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001569/0.4518, allocations: 0.6926 MB / 0.5547 GB, free: 8.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.4518, allocations: 10.27 kB / 0.5547 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.452, allocations: 56.97 kB / 0.5548 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006917/0.4527, allocations: 391.5 kB / 0.5551 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.4527, allocations: 7.844 kB / 0.5551 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.4527, allocations: 11.12 kB / 0.5552 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.4531, allocations: 148.7 kB / 0.5553 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.4531, allocations: 5.219 kB / 0.5553 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.4531, allocations: 9.406 kB / 0.5553 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.4531, allocations: 2.562 kB / 0.5553 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.4534, allocations: 88.22 kB / 0.5554 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.4546, allocations: 0.6487 MB / 0.556 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.4549, allocations: 114.5 kB / 0.5561 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.455, allocations: 44.78 kB / 0.5562 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.176e-05/0.455, allocations: 1.344 kB / 0.5562 GB, free: 7.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.4551, allocations: 39.94 kB / 0.5562 GB, free: 7.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.4551, allocations: 5.156 kB / 0.5562 GB, free: 7.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001736/0.4568, allocations: 0.5448 MB / 0.5568 GB, free: 7.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.4569, allocations: 81.05 kB / 0.5568 GB, free: 7.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.4581, allocations: 0.8506 MB / 0.5577 GB, free: 6.215 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.4582, allocations: 33.69 kB / 0.5577 GB, free: 6.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.4584, allocations: 252.3 kB / 0.5579 GB, free: 5.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.876e-05/0.4585, allocations: 55.48 kB / 0.558 GB, free: 5.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.4586, allocations: 37.7 kB / 0.558 GB, free: 5.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002743/0.4589, allocations: 366.7 kB / 0.5584 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.4591, allocations: 63.95 kB / 0.5584 GB, free: 5.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.4593, allocations: 85.66 kB / 0.5585 GB, free: 5.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.4597, allocations: 157.8 kB / 0.5587 GB, free: 5.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4597, allocations: 0 / 0.5587 GB, free: 5.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006021/0.4603, allocations: 237.2 kB / 0.5589 GB, free: 4.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4604, allocations: 8 kB / 0.5589 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4604, allocations: 0 / 0.5589 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.4604, allocations: 3.984 kB / 0.5589 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.4606, allocations: 43.89 kB / 0.559 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.4607, allocations: 4 kB / 0.559 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.4608, allocations: 4 kB / 0.559 GB, free: 4.844 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.4608, allocations: 11.98 kB / 0.559 GB, free: 4.832 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0002691/0.4611, allocations: 229.8 kB / 0.5592 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.4612, allocations: 55.62 kB / 0.5592 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/0.4619, allocations: 290.8 kB / 0.5595 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.4619, allocations: 0 / 0.5595 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4619, allocations: 0 / 0.5595 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4619, allocations: 8 kB / 0.5595 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.4633, allocations: 0.7659 MB / 0.5603 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.4633, allocations: 0 / 0.5603 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.4635, allocations: 35.97 kB / 0.5603 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.4635, allocations: 0 / 0.5603 GB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.4635, allocations: 11.98 kB / 0.5603 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.82e-06/0.4635, allocations: 7.938 kB / 0.5603 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4635, allocations: 4 kB / 0.5603 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.4642, allocations: 406.3 kB / 0.5607 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.4644, allocations: 63.66 kB / 0.5608 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.4644, allocations: 8 kB / 0.5608 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.4646, allocations: 15.92 kB / 0.5608 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.4647, allocations: 15.97 kB / 0.5608 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.4647, allocations: 4 kB / 0.5608 GB, free: 2.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008504/0.4655, allocations: 0.6276 MB / 0.5614 GB, free: 2.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4655, allocations: 0 / 0.5614 GB, free: 2.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003935/0.4659, allocations: 55.94 kB / 0.5615 GB, free: 2.172 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001592/0.4675, allocations: 405.5 kB / 0.5619 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005055/0.468, allocations: 159.8 kB / 0.562 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.468, allocations: 0 / 0.562 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.4683, allocations: 83.88 kB / 0.5621 GB, free: 1.688 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00071/0.469, allocations: 73.06 kB / 0.5622 GB, free: 1.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.4707, allocations: 0.9263 MB / 0.5631 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.4713, allocations: 0.8614 MB / 0.5639 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002458/0.4716, allocations: 82.91 kB / 0.564 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.4717, allocations: 35.42 kB / 0.564 GB, free: 15.66 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4717, allocations: 0 / 0.564 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Templates: time 0.01066/0.4823, allocations: 4.123 MB / 0.5681 GB, free: 11.56 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.60083226673305]