Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001938/0.001938, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002802/0.002802, allocations: 217.5 kB / 24.5 MB, free: 4.133 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.508/1.508, allocations: 230.5 MB / 258.1 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2328/0.2328, allocations: 46.93 MB / 361.5 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 87.86 kB / 0.4975 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3696, allocations: 66.08 MB / 0.562 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003366/0.373, allocations: 1.691 MB / 0.5636 GB, free: 2.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.3741, allocations: 0.5693 MB / 0.5642 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.3741, allocations: 0 / 0.5642 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006311/0.3748, allocations: 467.1 kB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004828/0.3752, allocations: 287.3 kB / 0.5649 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.3756, allocations: 138.9 kB / 0.565 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.3759, allocations: 175.6 kB / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.376, allocations: 11.98 kB / 0.5652 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.3761, allocations: 119.7 kB / 0.5653 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.3764, allocations: 247.5 kB / 0.5656 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.3764, allocations: 4 kB / 0.5656 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3765, allocations: 51.98 kB / 0.5656 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.3767, allocations: 91.61 kB / 0.5657 GB, free: 432 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.215e-05/0.3768, allocations: 107 kB / 0.5658 GB, free: 324 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.3771, allocations: 273 kB / 0.5661 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3771, allocations: 0 / 0.5661 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3772, allocations: 0 / 0.5661 GB, free: 56 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.3772, allocations: 0 / 0.5661 GB, free: 56 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008246/0.378, allocations: 0.5933 MB / 0.5667 GB, free: 15.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.378, allocations: 8.031 kB / 0.5667 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.3781, allocations: 44.66 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3784, allocations: 250.8 kB / 0.5669 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3784, allocations: 384 / 0.5669 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.3784, allocations: 4.375 kB / 0.567 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.3786, allocations: 54.19 kB / 0.567 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.3786, allocations: 8.188 kB / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.3786, allocations: 3.938 kB / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3786, allocations: 0 / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.539e-05/0.3787, allocations: 27.97 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/0.3793, allocations: 371.7 kB / 0.5674 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.3794, allocations: 42.56 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.3794, allocations: 12.86 kB / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.3795, allocations: 96 / 0.5674 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3795, allocations: 42.55 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.3795, allocations: 4 kB / 0.5675 GB, free: 14.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009592/0.3804, allocations: 316.5 kB / 0.5678 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.3805, allocations: 55.34 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009391/0.3814, allocations: 0.8653 MB / 0.5687 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.3815, allocations: 29.7 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.3817, allocations: 220.1 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.3817, allocations: 27.73 kB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.477e-05/0.3817, allocations: 25.72 kB / 0.569 GB, free: 12.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.3819, allocations: 362.7 kB / 0.5693 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.223e-05/0.382, allocations: 27.98 kB / 0.5694 GB, free: 12.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.3821, allocations: 19.98 kB / 0.5694 GB, free: 12.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.3822, allocations: 64.83 kB / 0.5694 GB, free: 12.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3822, allocations: 0 / 0.5694 GB, free: 12.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002541/0.3825, allocations: 145.3 kB / 0.5696 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3825, allocations: 4 kB / 0.5696 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3825, allocations: 0 / 0.5696 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3825, allocations: 0 / 0.5696 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.3826, allocations: 19.98 kB / 0.5696 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3826, allocations: 4 kB / 0.5696 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.498e-05/0.3827, allocations: 7.938 kB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3827, allocations: 3.938 kB / 0.5696 GB, free: 12.23 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.0002224/0.3829, allocations: 215.1 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.383, allocations: 47.67 kB / 0.5699 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.3833, allocations: 169.7 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3833, allocations: 4 kB / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3833, allocations: 432 / 0.57 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3833, allocations: 3.938 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006618/0.384, allocations: 478.2 kB / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.384, allocations: 0 / 0.5705 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.3841, allocations: 19.98 kB / 0.5705 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3841, allocations: 3.938 kB / 0.5705 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3841, allocations: 12.02 kB / 0.5705 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3841, allocations: 7.984 kB / 0.5705 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3841, allocations: 0 / 0.5705 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.3844, allocations: 236 kB / 0.5708 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.3845, allocations: 35.7 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.3845, allocations: 3.938 kB / 0.5708 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.546e-05/0.3846, allocations: 12 kB / 0.5708 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.3846, allocations: 7.984 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.3846, allocations: 4 kB / 0.5708 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006937/0.3853, allocations: 0.655 MB / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3853, allocations: 0 / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.3856, allocations: 28 kB / 0.5715 GB, free: 10.23 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.001821/0.3874, allocations: 453.7 kB / 0.5719 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.3876, allocations: 63.95 kB / 0.572 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3876, allocations: 0 / 0.572 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.3877, allocations: 39.91 kB / 0.572 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.3882, allocations: 30.23 kB / 0.572 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.3896, allocations: 0.8676 MB / 0.5729 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.3902, allocations: 0.8259 MB / 0.5737 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.3902, allocations: 19.42 kB / 0.5737 GB, free: 8.031 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3902, allocations: 0 / 0.5737 GB, free: 8.031 MB / 414.1 MB Notification: Performance of Templates: time 0.008519/0.3987, allocations: 3.959 MB / 0.5776 GB, free: 4.07 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.79226727085188]