Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00593/0.00593, allocations: 102.8 kB / 21.97 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001602, allocations: 220 kB / 25.29 MB, free: 3.215 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 230.5 MB / 258.9 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2292/0.2292, allocations: 46.95 MB / 362.3 MB, free: 4.184 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002402/0.002402, allocations: 87.84 kB / 0.4982 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3678, allocations: 66.07 MB / 0.5628 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.003149/0.3709, allocations: 1.71 MB / 0.5644 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.3721, allocations: 0.5966 MB / 0.565 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.01e-05/0.3722, allocations: 4 kB / 0.565 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.3725, allocations: 67.72 kB / 0.5651 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.3728, allocations: 111.6 kB / 0.5652 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.3733, allocations: 175.1 kB / 0.5653 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.3735, allocations: 99.73 kB / 0.5654 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3736, allocations: 12.22 kB / 0.5655 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.357e-05/0.3737, allocations: 47.83 kB / 0.5655 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3738, allocations: 51.83 kB / 0.5655 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.3738, allocations: 7.938 kB / 0.5656 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.3739, allocations: 51.95 kB / 0.5656 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.374, allocations: 27.86 kB / 0.5656 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.021e-05/0.374, allocations: 39.75 kB / 0.5657 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.3742, allocations: 125.8 kB / 0.5658 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3742, allocations: 0 / 0.5658 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3742, allocations: 0 / 0.5658 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3743, allocations: 4 kB / 0.5658 GB, free: 1.129 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.0005379/0.3748, allocations: 349.6 kB / 0.5661 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3748, allocations: 12.03 kB / 0.5661 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.3749, allocations: 8.891 kB / 0.5661 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.3751, allocations: 158.2 kB / 0.5663 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3751, allocations: 8.375 kB / 0.5663 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.3751, allocations: 4.375 kB / 0.5663 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.3753, allocations: 62.23 kB / 0.5664 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3753, allocations: 192 / 0.5664 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3753, allocations: 11.88 kB / 0.5664 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3754, allocations: 3.938 kB / 0.5664 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.3755, allocations: 47.89 kB / 0.5664 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.376, allocations: 299.8 kB / 0.5667 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.3762, allocations: 58.58 kB / 0.5668 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3763, allocations: 25.02 kB / 0.5668 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.3764, allocations: 7.984 kB / 0.5668 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.3764, allocations: 38.5 kB / 0.5668 GB, free: 15.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.3764, allocations: 0 / 0.5668 GB, free: 15.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001437/0.3778, allocations: 421.3 kB / 0.5672 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.3779, allocations: 55.41 kB / 0.5673 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.3781, allocations: 218.2 kB / 0.5675 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.3781, allocations: 33.7 kB / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.3782, allocations: 108.1 kB / 0.5676 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.3782, allocations: 35.69 kB / 0.5677 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.3783, allocations: 25.66 kB / 0.5677 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3785, allocations: 326.8 kB / 0.568 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.3786, allocations: 51.95 kB / 0.5681 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.3788, allocations: 59.89 kB / 0.5681 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002829/0.379, allocations: 124.8 kB / 0.5682 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.379, allocations: 0 / 0.5682 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003505/0.3794, allocations: 165.8 kB / 0.5684 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3794, allocations: 10.66 kB / 0.5684 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3794, allocations: 3.984 kB / 0.5684 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3794, allocations: 4 kB / 0.5684 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3795, allocations: 31.86 kB / 0.5684 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3795, allocations: 0 / 0.5684 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.452e-05/0.3796, allocations: 15.92 kB / 0.5685 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.3796, allocations: 4 kB / 0.5685 GB, free: 14.21 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 (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.0001241/0.3797, allocations: 129.8 kB / 0.5686 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.3798, allocations: 19.91 kB / 0.5686 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004479/0.3802, allocations: 194.9 kB / 0.5688 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3802, allocations: 0 / 0.5688 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3802, allocations: 4 kB / 0.5688 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3802, allocations: 3.938 kB / 0.5688 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007517/0.381, allocations: 483 kB / 0.5693 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.381, allocations: 4.094 kB / 0.5693 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3811, allocations: 31.86 kB / 0.5693 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3811, allocations: 3.984 kB / 0.5693 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3811, allocations: 4 kB / 0.5693 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3811, allocations: 4.125 kB / 0.5693 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.3811, allocations: 4 kB / 0.5693 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.3815, allocations: 273.1 kB / 0.5696 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.3816, allocations: 11.89 kB / 0.5696 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.3816, allocations: 8 kB / 0.5696 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.79e-05/0.3817, allocations: 11.98 kB / 0.5696 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.3817, allocations: 7.984 kB / 0.5696 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3817, allocations: 8 kB / 0.5696 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001562/0.3819, allocations: 164.2 kB / 0.5698 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3819, allocations: 0 / 0.5698 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.3822, allocations: 27.98 kB / 0.5698 GB, free: 12.74 MB / 414.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.001728/0.3839, allocations: 456.1 kB / 0.5702 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.3843, allocations: 115.9 kB / 0.5703 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3843, allocations: 4 kB / 0.5703 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.3844, allocations: 67.89 kB / 0.5704 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.3848, allocations: 32.11 kB / 0.5704 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007083/0.3855, allocations: 362.5 kB / 0.5708 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.3859, allocations: 0.7197 MB / 0.5715 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.386, allocations: 19.42 kB / 0.5715 GB, free: 11.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.386, allocations: 0 / 0.5715 GB, free: 11.07 MB / 414.1 MB Notification: Performance of Templates: time 0.004475/0.3905, allocations: 2.107 MB / 0.5736 GB, free: 8.969 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test29.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.675588268088177]