Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.009083/0.009083, allocations: 102.9 kB / 21.97 MB, free: 5.207 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.00247/0.00247, allocations: 224.6 kB / 25.3 MB, free: 3.211 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.485/1.485, allocations: 230.5 MB / 258.9 MB, free: 8.008 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.2299/0.2299, allocations: 46.93 MB / 362.3 MB, free: 4.215 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6") [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.002351/0.002351, allocations: 83.88 kB / 0.4982 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3505, allocations: 66.06 MB / 0.5627 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003525/0.354, allocations: 1.69 MB / 0.5644 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3552, allocations: 0.5889 MB / 0.565 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.3552, allocations: 3.938 kB / 0.565 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000643/0.3559, allocations: 459.1 kB / 0.5654 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.3564, allocations: 295.3 kB / 0.5657 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.3569, allocations: 178.8 kB / 0.5659 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003085/0.3572, allocations: 179.6 kB / 0.566 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3573, allocations: 15.98 kB / 0.5661 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.3575, allocations: 115.7 kB / 0.5662 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.3578, allocations: 247.5 kB / 0.5664 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3578, allocations: 4 kB / 0.5664 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-05/0.3579, allocations: 39.98 kB / 0.5664 GB, free: 468 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.358, allocations: 91.67 kB / 0.5665 GB, free: 376 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.3581, allocations: 103 kB / 0.5666 GB, free: 272 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.3585, allocations: 269 kB / 0.5669 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3585, allocations: 0 / 0.5669 GB, free: 8 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3585, allocations: 0 / 0.5669 GB, free: 8 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.3585, allocations: 0 / 0.5669 GB, free: 8 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009551/0.3595, allocations: 0.5893 MB / 0.5675 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3595, allocations: 8.031 kB / 0.5675 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.3596, allocations: 48.61 kB / 0.5675 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.3599, allocations: 250.8 kB / 0.5677 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-06/0.3599, allocations: 384 / 0.5678 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.3599, allocations: 4.375 kB / 0.5678 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3601, allocations: 62.22 kB / 0.5678 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3601, allocations: 192 / 0.5678 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.3602, allocations: 7.938 kB / 0.5678 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3602, allocations: 3.938 kB / 0.5678 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.3603, allocations: 39.91 kB / 0.5679 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006302/0.3609, allocations: 379.8 kB / 0.5682 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.3611, allocations: 42.56 kB / 0.5683 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.375e-05/0.3612, allocations: 24.94 kB / 0.5683 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.3612, allocations: 8.062 kB / 0.5683 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3612, allocations: 38.5 kB / 0.5683 GB, free: 14.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3612, allocations: 0 / 0.5683 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009148/0.3622, allocations: 320.8 kB / 0.5686 GB, free: 14.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.3622, allocations: 55.41 kB / 0.5687 GB, free: 14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009593/0.3632, allocations: 0.8652 MB / 0.5695 GB, free: 13.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3632, allocations: 29.7 kB / 0.5696 GB, free: 13.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.3634, allocations: 212.1 kB / 0.5698 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.3634, allocations: 19.78 kB / 0.5698 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.3635, allocations: 21.72 kB / 0.5698 GB, free: 12.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.3637, allocations: 366.7 kB / 0.5702 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.3638, allocations: 39.97 kB / 0.5702 GB, free: 12.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.3639, allocations: 39.97 kB / 0.5702 GB, free: 12.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.3641, allocations: 84.78 kB / 0.5703 GB, free: 12.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3641, allocations: 4 kB / 0.5703 GB, free: 12.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003247/0.3645, allocations: 169.5 kB / 0.5705 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3645, allocations: 10.12 kB / 0.5705 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3645, allocations: 0 / 0.5705 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.3645, allocations: 11.97 kB / 0.5705 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3646, allocations: 15.98 kB / 0.5705 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3646, allocations: 4.062 kB / 0.5705 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.207e-05/0.3647, allocations: 11.98 kB / 0.5705 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.3647, allocations: 0 / 0.5705 GB, free: 12.07 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 (7): * Single equations (assignments): 7 * 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.0002124/0.3649, allocations: 221.7 kB / 0.5707 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.365, allocations: 39.72 kB / 0.5708 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.3654, allocations: 185.4 kB / 0.571 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3654, allocations: 0 / 0.571 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3654, allocations: 0 / 0.571 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3654, allocations: 0 / 0.571 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007554/0.3662, allocations: 497.4 kB / 0.5714 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3662, allocations: 0 / 0.5714 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.865e-05/0.3663, allocations: 23.92 kB / 0.5715 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3663, allocations: 0 / 0.5715 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3663, allocations: 4 kB / 0.5715 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3663, allocations: 4 kB / 0.5715 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3663, allocations: 3.938 kB / 0.5715 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.3666, allocations: 259.2 kB / 0.5717 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.3667, allocations: 35.7 kB / 0.5717 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.3667, allocations: 0 / 0.5717 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3668, allocations: 11.98 kB / 0.5718 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3669, allocations: 3.938 kB / 0.5718 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3669, allocations: 16 kB / 0.5718 GB, free: 10.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006759/0.3675, allocations: 0.6511 MB / 0.5724 GB, free: 10.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3675, allocations: 0 / 0.5724 GB, free: 10.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.3678, allocations: 24 kB / 0.5724 GB, free: 10.04 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 (7): * Single equations (assignments): 7 * 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.001509/0.3693, allocations: 407.2 kB / 0.5728 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000331/0.3696, allocations: 91.92 kB / 0.5729 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3696, allocations: 0 / 0.5729 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.3698, allocations: 47.91 kB / 0.573 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.3702, allocations: 29.67 kB / 0.573 GB, free: 9.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.3716, allocations: 0.8784 MB / 0.5738 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/0.3721, allocations: 0.8307 MB / 0.5747 GB, free: 7.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.3721, allocations: 15.44 kB / 0.5747 GB, free: 7.824 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3721, allocations: 0 / 0.5747 GB, free: 7.824 MB / 414.1 MB Notification: Performance of Templates: time 0.008017/0.3801, allocations: 3.926 MB / 0.5785 GB, free: 3.891 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test6.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.716463071061298]