Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.001287/0.001287, 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.001423/0.001423, allocations: 213.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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2251/0.2251, allocations: 46.96 MB / 360.9 MB, free: 4.051 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.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 59.91 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4011, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.003235/0.4044, allocations: 1.619 MB / 0.5627 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.4054, allocations: 0.5222 MB / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.4055, allocations: 0 / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006365/0.4061, allocations: 451.1 kB / 0.5636 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005592/0.4067, allocations: 295.3 kB / 0.5639 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.407, allocations: 131.5 kB / 0.564 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.4073, allocations: 159.7 kB / 0.5642 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.4074, allocations: 15.97 kB / 0.5642 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.4075, allocations: 107.7 kB / 0.5643 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.4078, allocations: 255.5 kB / 0.5645 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.4078, allocations: 4 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.773e-05/0.4079, allocations: 23.98 kB / 0.5646 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.408, allocations: 79.69 kB / 0.5646 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.4081, allocations: 67.25 kB / 0.5647 GB, free: 472 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.4084, allocations: 261 kB / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4084, allocations: 0 / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4084, allocations: 0 / 0.5649 GB, free: 216 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.4084, allocations: 0 / 0.5649 GB, free: 216 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.0007965/0.4092, allocations: 0.5791 MB / 0.5655 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.4092, allocations: 12.03 kB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.4093, allocations: 44.66 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.4096, allocations: 242.8 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.4096, allocations: 4.375 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.4096, allocations: 4.375 kB / 0.5658 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.4098, allocations: 57.28 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4098, allocations: 0 / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.4098, allocations: 4 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.4098, allocations: 0 / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.41, allocations: 39.84 kB / 0.5659 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004688/0.4104, allocations: 324.5 kB / 0.5662 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.4106, allocations: 38.55 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.4107, allocations: 16.94 kB / 0.5663 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.4107, allocations: 8 kB / 0.5663 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.4107, allocations: 30.56 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 3.105e-06/0.4107, allocations: 3.984 kB / 0.5663 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003527/0.4111, allocations: 125.3 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.4111, allocations: 51.41 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009665/0.4121, allocations: 0.869 MB / 0.5673 GB, free: 13.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.4121, allocations: 29.7 kB / 0.5673 GB, free: 13.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.4123, allocations: 212 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.4123, allocations: 15.88 kB / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.4124, allocations: 13.72 kB / 0.5676 GB, free: 13.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4125, allocations: 358.8 kB / 0.5679 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.4126, allocations: 15.98 kB / 0.5679 GB, free: 12.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.4127, allocations: 19.98 kB / 0.568 GB, free: 12.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.4128, allocations: 40.77 kB / 0.568 GB, free: 12.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4128, allocations: 0 / 0.568 GB, free: 12.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002193/0.413, allocations: 105.4 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.413, allocations: 4 kB / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.413, allocations: 0 / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.413, allocations: 0 / 0.5681 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.954e-05/0.4131, allocations: 16 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4131, allocations: 3.938 kB / 0.5681 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.742e-05/0.4132, allocations: 7.984 kB / 0.5681 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.4132, allocations: 0 / 0.5681 GB, free: 12.77 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 (3): * Single equations (assignments): 3 * 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.0002029/0.4134, allocations: 205.8 kB / 0.5683 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.291e-05/0.4135, allocations: 47.67 kB / 0.5684 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.4137, allocations: 125 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4137, allocations: 0 / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.4138, allocations: 3.938 kB / 0.5685 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4138, allocations: 4 kB / 0.5685 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.4141, allocations: 229.2 kB / 0.5687 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4141, allocations: 4 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.4141, allocations: 7.984 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4141, allocations: 3.938 kB / 0.5687 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.4141, allocations: 4 kB / 0.5687 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4141, allocations: 0 / 0.5687 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4141, allocations: 0 / 0.5687 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.4144, allocations: 207.1 kB / 0.5689 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.4144, allocations: 39.72 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.4145, allocations: 4 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.88e-05/0.4146, allocations: 7.984 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.4146, allocations: 432 / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.4146, allocations: 3.938 kB / 0.569 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007053/0.4153, allocations: 0.655 MB / 0.5696 GB, free: 11.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4153, allocations: 0 / 0.5696 GB, free: 11.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.4155, allocations: 23.92 kB / 0.5696 GB, free: 11.15 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 (3): * Single equations (assignments): 3 * 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.001395/0.4169, allocations: 362.6 kB / 0.57 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.4171, allocations: 43.89 kB / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4171, allocations: 0 / 0.57 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.776e-05/0.4172, allocations: 27.92 kB / 0.5701 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.4176, allocations: 25.36 kB / 0.5701 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.4188, allocations: 0.7906 MB / 0.5709 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.4191, allocations: 216.1 kB / 0.5711 GB, free: 9.801 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.976e-05/0.4191, allocations: 15.67 kB / 0.5711 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.4191, allocations: 15.38 kB / 0.5711 GB, free: 9.77 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4191, allocations: 0 / 0.5711 GB, free: 9.77 MB / 414.1 MB Notification: Performance of Templates: time 0.005166/0.4243, allocations: 1.472 MB / 0.5725 GB, free: 8.309 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test9.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.208336567506194]