Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001418/0.001418, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001498/0.001498, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.449/1.449, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2344/0.2344, allocations: 44.92 MB / 359.6 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 180] 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.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 71.89 kB / 0.4943 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4403, allocations: 65.46 MB / 0.5583 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003191/0.4435, allocations: 1.687 MB / 0.5599 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.4447, allocations: 0.605 MB / 0.5605 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.4447, allocations: 7.938 kB / 0.5605 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006183/0.4453, allocations: 443.2 kB / 0.5609 GB, free: 4.941 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004611/0.4458, allocations: 291.3 kB / 0.5612 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.4463, allocations: 182.9 kB / 0.5614 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.4465, allocations: 183.6 kB / 0.5616 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.4466, allocations: 16.22 kB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.4467, allocations: 115.7 kB / 0.5617 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.447, allocations: 255.5 kB / 0.5619 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.4471, allocations: 4 kB / 0.5619 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.4472, allocations: 47.98 kB / 0.562 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.4473, allocations: 87.62 kB / 0.5621 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.4474, allocations: 111 kB / 0.5622 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.4479, allocations: 281 kB / 0.5624 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.4479, allocations: 3.938 kB / 0.5624 GB, free: 3.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4479, allocations: 4 kB / 0.5625 GB, free: 3.395 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.4479, allocations: 0 / 0.5625 GB, free: 3.395 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008075/0.4487, allocations: 0.5892 MB / 0.563 GB, free: 2.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4487, allocations: 12.03 kB / 0.563 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.4488, allocations: 48.61 kB / 0.5631 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.4491, allocations: 246.8 kB / 0.5633 GB, free: 2.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-06/0.4491, allocations: 4.375 kB / 0.5633 GB, free: 2.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.4492, allocations: 8.375 kB / 0.5633 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4494, allocations: 65.73 kB / 0.5634 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.4494, allocations: 3.984 kB / 0.5634 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.4494, allocations: 4 kB / 0.5634 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4494, allocations: 0 / 0.5634 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.4495, allocations: 35.97 kB / 0.5634 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.4501, allocations: 379.6 kB / 0.5638 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.4502, allocations: 42.56 kB / 0.5638 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.4502, allocations: 20.94 kB / 0.5639 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.4503, allocations: 4 kB / 0.5639 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.4503, allocations: 34.56 kB / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4503, allocations: 0 / 0.5639 GB, free: 1.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001013/0.4513, allocations: 324.7 kB / 0.5642 GB, free: 1.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.4513, allocations: 63.27 kB / 0.5643 GB, free: 1.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009086/0.4523, allocations: 0.866 MB / 0.5651 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.4523, allocations: 29.64 kB / 0.5651 GB, free: 488 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.4525, allocations: 232 kB / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.4525, allocations: 27.83 kB / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.4526, allocations: 17.72 kB / 0.5654 GB, free: 200 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.4528, allocations: 370.8 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.009e-05/0.4529, allocations: 27.98 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.024e-05/0.453, allocations: 27.97 kB / 0.5658 GB, free: 15.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.4531, allocations: 76.83 kB / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4531, allocations: 0 / 0.5659 GB, free: 15.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002684/0.4534, allocations: 145.3 kB / 0.566 GB, free: 15.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4534, allocations: 12 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4534, allocations: 3.984 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4534, allocations: 0 / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.4536, allocations: 15.94 kB / 0.5661 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.4536, allocations: 7.922 kB / 0.5661 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.4536, allocations: 11.94 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.4536, allocations: 4 kB / 0.5661 GB, free: 15.49 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 (8): * Single equations (assignments): 8 * 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.0002297/0.4539, allocations: 217.7 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.4539, allocations: 47.72 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003663/0.4543, allocations: 173.5 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.4543, allocations: 4 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.4543, allocations: 3.938 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4543, allocations: 0 / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000715/0.455, allocations: 0.4948 MB / 0.567 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.455, allocations: 3.938 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/0.4551, allocations: 19.98 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4551, allocations: 0 / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.4551, allocations: 0 / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.4551, allocations: 4 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4551, allocations: 0 / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.4554, allocations: 256.1 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.4555, allocations: 44.03 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.4555, allocations: 4 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.813e-05/0.4556, allocations: 3.984 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.4557, allocations: 4 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.4557, allocations: 11.94 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006593/0.4563, allocations: 0.655 MB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4563, allocations: 4 kB / 0.568 GB, free: 13.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002832/0.4566, allocations: 27.94 kB / 0.568 GB, free: 13.43 MB / 414.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 (8): * Single equations (assignments): 8 * 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.001792/0.4584, allocations: 457.3 kB / 0.5684 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.4587, allocations: 79.88 kB / 0.5685 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4587, allocations: 3.938 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.935e-05/0.4588, allocations: 39.92 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004336/0.4592, allocations: 34.17 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.4606, allocations: 0.8678 MB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.4611, allocations: 0.8299 MB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.4612, allocations: 15.44 kB / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4612, allocations: 0 / 0.5703 GB, free: 11.24 MB / 414.1 MB Notification: Performance of Templates: time 0.008054/0.4692, allocations: 4.044 MB / 0.5742 GB, free: 7.188 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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: 8.23554879007861]