Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001801/0.001801, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002351/0.002351, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.554/1.554, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2485/0.2485, allocations: 46.95 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 179] 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 67.89 kB / 0.4966 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3664, allocations: 66.04 MB / 0.5611 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003356/0.3697, allocations: 1.657 MB / 0.5627 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.371, allocations: 0.5699 MB / 0.5633 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.772e-05/0.371, allocations: 0 / 0.5633 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006577/0.3717, allocations: 455.1 kB / 0.5637 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000559/0.3722, allocations: 291.3 kB / 0.564 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.3727, allocations: 175.1 kB / 0.5642 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000271/0.373, allocations: 187.6 kB / 0.5643 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.3732, allocations: 16.22 kB / 0.5644 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.3733, allocations: 115.7 kB / 0.5645 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.3736, allocations: 251.5 kB / 0.5647 GB, free: 460 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.3736, allocations: 4 kB / 0.5647 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3738, allocations: 47.98 kB / 0.5648 GB, free: 408 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.3739, allocations: 83.69 kB / 0.5648 GB, free: 324 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.794e-05/0.374, allocations: 75.23 kB / 0.5649 GB, free: 248 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004368/0.3744, allocations: 297 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3744, allocations: 0 / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3744, allocations: 0 / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.545e-06/0.3745, allocations: 0 / 0.5652 GB, free: 15.95 MB / 414.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.0008928/0.3753, allocations: 0.5892 MB / 0.5658 GB, free: 15.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.3754, allocations: 8.031 kB / 0.5658 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.717e-05/0.3755, allocations: 48.61 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.3758, allocations: 246.7 kB / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.3758, allocations: 384 / 0.5661 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.3759, allocations: 8.375 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.3761, allocations: 65.8 kB / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.3761, allocations: 0 / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.3761, allocations: 4 kB / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3761, allocations: 0 / 0.5661 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.3762, allocations: 35.95 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006951/0.3769, allocations: 352.3 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.3771, allocations: 42.66 kB / 0.5665 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.959e-05/0.3771, allocations: 24.88 kB / 0.5666 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.3772, allocations: 7.938 kB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.3772, allocations: 34.56 kB / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.3772, allocations: 0 / 0.5666 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001187/0.3784, allocations: 328.5 kB / 0.5669 GB, free: 14.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.764e-05/0.3785, allocations: 51.41 kB / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009132/0.3794, allocations: 0.8691 MB / 0.5678 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3794, allocations: 29.7 kB / 0.5678 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.3796, allocations: 220 kB / 0.5681 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.3797, allocations: 19.78 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.3797, allocations: 25.7 kB / 0.5681 GB, free: 12.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.3799, allocations: 362.8 kB / 0.5684 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.38, allocations: 31.98 kB / 0.5685 GB, free: 12.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.3801, allocations: 31.97 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.3803, allocations: 80.77 kB / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3803, allocations: 0 / 0.5686 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002835/0.3806, allocations: 149.3 kB / 0.5687 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3806, allocations: 4 kB / 0.5687 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.3806, allocations: 4 kB / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3806, allocations: 0 / 0.5687 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3807, allocations: 15.98 kB / 0.5687 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.3807, allocations: 3.938 kB / 0.5688 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.217e-05/0.3808, allocations: 11.94 kB / 0.5688 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3808, allocations: 4 kB / 0.5688 GB, free: 12.11 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.0002377/0.381, allocations: 217.7 kB / 0.569 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.885e-05/0.3811, allocations: 43.72 kB / 0.569 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/0.3815, allocations: 173.4 kB / 0.5692 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.3815, allocations: 4 kB / 0.5692 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3815, allocations: 3.938 kB / 0.5692 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3815, allocations: 0 / 0.5692 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008043/0.3824, allocations: 463.2 kB / 0.5696 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3824, allocations: 0 / 0.5696 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.803e-05/0.3824, allocations: 19.92 kB / 0.5696 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3824, allocations: 3.938 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.3825, allocations: 8 kB / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.3825, allocations: 0 / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3825, allocations: 0 / 0.5697 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.3828, allocations: 256.2 kB / 0.5699 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.844e-05/0.3829, allocations: 35.72 kB / 0.5699 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.3829, allocations: 3.938 kB / 0.5699 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.383, allocations: 11.98 kB / 0.57 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.3831, allocations: 8 kB / 0.57 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.3831, allocations: 4.422 kB / 0.57 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006878/0.3838, allocations: 0.6588 MB / 0.5706 GB, free: 10.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3838, allocations: 0 / 0.5706 GB, free: 10.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.3841, allocations: 31.94 kB / 0.5706 GB, free: 10.11 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.001942/0.386, allocations: 489.8 kB / 0.5711 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.3863, allocations: 75.94 kB / 0.5712 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3863, allocations: 0 / 0.5712 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3864, allocations: 39.92 kB / 0.5712 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.3869, allocations: 28.3 kB / 0.5712 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3882, allocations: 0.8386 MB / 0.5721 GB, free: 8.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3885, allocations: 232.1 kB / 0.5723 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.392e-05/0.3886, allocations: 32.88 kB / 0.5723 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.3886, allocations: 15.44 kB / 0.5723 GB, free: 8.535 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3886, allocations: 0 / 0.5723 GB, free: 8.535 MB / 414.1 MB Notification: Performance of Templates: time 0.006165/0.3948, allocations: 1.967 MB / 0.5743 GB, free: 6.582 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.302850276697427]