Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.001554/0.001554, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00189/0.00189, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2495/0.2495, allocations: 44.9 MB / 359.6 MB, free: 6.32 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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") [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.002222/0.002222, allocations: 79.86 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3862, allocations: 65.46 MB / 0.5583 GB, free: 7.727 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003342/0.3896, allocations: 1.7 MB / 0.5599 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3906, allocations: 0.5659 MB / 0.5605 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.3907, allocations: 4 kB / 0.5605 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.391, allocations: 47.75 kB / 0.5605 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.3913, allocations: 99.58 kB / 0.5606 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.3916, allocations: 123.7 kB / 0.5608 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3918, allocations: 87.69 kB / 0.5608 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3919, allocations: 20.22 kB / 0.5609 GB, free: 5.09 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.481e-05/0.3919, allocations: 31.86 kB / 0.5609 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.392, allocations: 47.81 kB / 0.5609 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.3921, allocations: 4 kB / 0.5609 GB, free: 5.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3922, allocations: 47.98 kB / 0.561 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.456e-05/0.3922, allocations: 31.91 kB / 0.561 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.3923, allocations: 31.69 kB / 0.561 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.3925, allocations: 110 kB / 0.5611 GB, free: 4.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3925, allocations: 0 / 0.5611 GB, free: 4.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3925, allocations: 0 / 0.5611 GB, free: 4.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3925, allocations: 0 / 0.5611 GB, free: 4.797 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.0005332/0.393, allocations: 337.6 kB / 0.5615 GB, free: 4.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3931, allocations: 12.03 kB / 0.5615 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.3931, allocations: 16.83 kB / 0.5615 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.3933, allocations: 148.5 kB / 0.5616 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3933, allocations: 8.375 kB / 0.5616 GB, free: 4.234 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.3934, allocations: 7.938 kB / 0.5617 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.3935, allocations: 57.67 kB / 0.5617 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3936, allocations: 0 / 0.5617 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3936, allocations: 4 kB / 0.5617 GB, free: 4.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3936, allocations: 4 kB / 0.5617 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.3937, allocations: 39.89 kB / 0.5618 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.3941, allocations: 271.9 kB / 0.562 GB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.3944, allocations: 54.55 kB / 0.5621 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.734e-05/0.3944, allocations: 29 kB / 0.5621 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.3945, allocations: 0 / 0.5621 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.3945, allocations: 34.56 kB / 0.5621 GB, free: 3.672 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.3945, allocations: 0 / 0.5621 GB, free: 3.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0014/0.3959, allocations: 393 kB / 0.5625 GB, free: 3.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3959, allocations: 59.34 kB / 0.5626 GB, free: 3.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.3961, allocations: 182.1 kB / 0.5627 GB, free: 3.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3961, allocations: 25.7 kB / 0.5628 GB, free: 2.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.3962, allocations: 96.14 kB / 0.5628 GB, free: 2.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.3962, allocations: 43.61 kB / 0.5629 GB, free: 2.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.825e-05/0.3963, allocations: 29.7 kB / 0.5629 GB, free: 2.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3964, allocations: 326.8 kB / 0.5632 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3966, allocations: 43.97 kB / 0.5633 GB, free: 2.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.3967, allocations: 47.91 kB / 0.5633 GB, free: 2.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.3969, allocations: 96.81 kB / 0.5634 GB, free: 2.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3969, allocations: 0 / 0.5634 GB, free: 2.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003199/0.3972, allocations: 146.4 kB / 0.5635 GB, free: 2.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3973, allocations: 8 kB / 0.5636 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3973, allocations: 3.938 kB / 0.5636 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.3973, allocations: 0 / 0.5636 GB, free: 2.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.3974, allocations: 31.92 kB / 0.5636 GB, free: 2.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3974, allocations: 3.984 kB / 0.5636 GB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.859e-05/0.3975, allocations: 12 kB / 0.5636 GB, free: 2.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3975, allocations: 7.984 kB / 0.5636 GB, free: 2.086 MB / 398.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.000105/0.3976, allocations: 125.8 kB / 0.5637 GB, free: 1.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.3976, allocations: 7.953 kB / 0.5637 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003873/0.398, allocations: 170.3 kB / 0.5639 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.398, allocations: 0 / 0.5639 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.398, allocations: 4 kB / 0.5639 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.398, allocations: 3.984 kB / 0.5639 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.3987, allocations: 439 kB / 0.5643 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3987, allocations: 0 / 0.5643 GB, free: 1.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3988, allocations: 35.91 kB / 0.5644 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3988, allocations: 0 / 0.5644 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3988, allocations: 4 kB / 0.5644 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3988, allocations: 4 kB / 0.5644 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3988, allocations: 4.062 kB / 0.5644 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003656/0.3992, allocations: 249 kB / 0.5646 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.3992, allocations: 11.95 kB / 0.5646 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.3992, allocations: 8.094 kB / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.3993, allocations: 11.92 kB / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.3993, allocations: 11.98 kB / 0.5647 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-06/0.3993, allocations: 4 kB / 0.5647 GB, free: 0.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.3995, allocations: 135.2 kB / 0.5648 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3995, allocations: 0 / 0.5648 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002649/0.3997, allocations: 23.94 kB / 0.5648 GB, free: 0.7617 MB / 398.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.001748/0.4015, allocations: 461.9 kB / 0.5652 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.4018, allocations: 111.8 kB / 0.5654 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4018, allocations: 0 / 0.5654 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.4019, allocations: 51.91 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.4023, allocations: 19.98 kB / 0.5654 GB, free: 316 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006383/0.403, allocations: 305.3 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.4033, allocations: 0.7002 MB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.4034, allocations: 27.36 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4034, allocations: 0 / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of Templates: time 0.004078/0.4074, allocations: 1.916 MB / 0.5683 GB, free: 13.31 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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: 7.77446426008828]