Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001753/0.001753, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001449/0.001449, allocations: 210.7 kB / 24.48 MB, free: 3.977 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2333/0.2333, allocations: 46.97 MB / 361.6 MB, free: 4.02 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 59.91 kB / 0.4973 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.3897, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003192/0.3929, allocations: 1.628 MB / 0.5634 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.394, allocations: 0.5378 MB / 0.5639 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.877e-05/0.3941, allocations: 0 / 0.5639 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006327/0.3947, allocations: 451.1 kB / 0.5644 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005349/0.3953, allocations: 303.3 kB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.3957, allocations: 178.6 kB / 0.5648 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.396, allocations: 175.6 kB / 0.565 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3961, allocations: 11.98 kB / 0.565 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3962, allocations: 107.8 kB / 0.5651 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.3965, allocations: 247.5 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.3965, allocations: 8 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3966, allocations: 27.94 kB / 0.5654 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.3967, allocations: 87.61 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.376e-05/0.3968, allocations: 67.25 kB / 0.5655 GB, free: 368 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.3971, allocations: 265 kB / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3971, allocations: 0 / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3971, allocations: 0 / 0.5658 GB, free: 108 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.3971, allocations: 0 / 0.5658 GB, free: 108 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.0007797/0.3979, allocations: 0.5778 MB / 0.5663 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.398, allocations: 8.031 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.267e-05/0.398, allocations: 52.61 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.3983, allocations: 246.8 kB / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3984, allocations: 384 / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.3984, allocations: 384 / 0.5666 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3985, allocations: 58.78 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3985, allocations: 0 / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3986, allocations: 4 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.3986, allocations: 0 / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.3987, allocations: 31.97 kB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.3992, allocations: 352.3 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.3993, allocations: 38.56 kB / 0.5671 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.831e-05/0.3994, allocations: 24.94 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.3994, allocations: 3.938 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.3994, allocations: 34.56 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3994, allocations: 3.938 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003553/0.3998, allocations: 137.3 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.3999, allocations: 51.41 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000921/0.4008, allocations: 0.8653 MB / 0.5682 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4008, allocations: 25.7 kB / 0.5682 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.401, allocations: 216.1 kB / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.194e-05/0.401, allocations: 7.906 kB / 0.5684 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.401, allocations: 13.72 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.4012, allocations: 366.8 kB / 0.5688 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.818e-05/0.4013, allocations: 15.98 kB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/0.4013, allocations: 20.17 kB / 0.5688 GB, free: 12.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.4015, allocations: 48.84 kB / 0.5689 GB, free: 12.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4015, allocations: 4 kB / 0.5689 GB, free: 12.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002076/0.4017, allocations: 113.3 kB / 0.569 GB, free: 12.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4017, allocations: 8 kB / 0.569 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.4017, allocations: 4 kB / 0.569 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4017, allocations: 0 / 0.569 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.4018, allocations: 11.98 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.4018, allocations: 4 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.4019, allocations: 4 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.4019, allocations: 0 / 0.569 GB, free: 12.61 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.0002592/0.4021, allocations: 217.7 kB / 0.5692 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.4022, allocations: 43.72 kB / 0.5693 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.4025, allocations: 125 kB / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4025, allocations: 0 / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.4025, allocations: 0 / 0.5694 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.4025, allocations: 8 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.4027, allocations: 237.2 kB / 0.5696 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4028, allocations: 3.984 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-05/0.4028, allocations: 4 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4028, allocations: 0 / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.4028, allocations: 4 kB / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4028, allocations: 0 / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4028, allocations: 0 / 0.5696 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.4031, allocations: 219.1 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.4032, allocations: 51.58 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.4032, allocations: 0 / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.4033, allocations: 4 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.4033, allocations: 0 / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.4033, allocations: 3.984 kB / 0.5699 GB, free: 11.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006599/0.4039, allocations: 0.6511 MB / 0.5705 GB, free: 10.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4039, allocations: 0 / 0.5705 GB, free: 10.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000271/0.4042, allocations: 23.94 kB / 0.5705 GB, free: 10.96 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.001341/0.4055, allocations: 377.5 kB / 0.5709 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.4057, allocations: 47.95 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4057, allocations: 0 / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.4058, allocations: 19.92 kB / 0.571 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.4062, allocations: 39.05 kB / 0.571 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4075, allocations: 0.7946 MB / 0.5718 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.4078, allocations: 220.1 kB / 0.572 GB, free: 9.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.599e-05/0.4078, allocations: 19.72 kB / 0.572 GB, free: 9.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.4079, allocations: 11.44 kB / 0.572 GB, free: 9.559 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4079, allocations: 0 / 0.572 GB, free: 9.559 MB / 414.1 MB Notification: Performance of Templates: time 0.005301/0.4132, allocations: 1.51 MB / 0.5735 GB, free: 8.059 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.045244737004396]