Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.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.001568/0.001568, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001861/0.001861, allocations: 215.5 kB / 24.48 MB, free: 3.836 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.534/1.534, allocations: 230.5 MB / 258.1 MB, free: 7.77 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.2383/0.2383, allocations: 46.96 MB / 361.6 MB, free: 3.887 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002727/0.002727, allocations: 75.88 kB / 0.4974 GB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3712, allocations: 66.09 MB / 0.5619 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003941/0.3751, allocations: 1.664 MB / 0.5636 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3763, allocations: 0.5266 MB / 0.5641 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.308e-05/0.3764, allocations: 4 kB / 0.5641 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006571/0.377, allocations: 459.1 kB / 0.5645 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005794/0.3776, allocations: 295.3 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.378, allocations: 129.1 kB / 0.5649 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.3784, allocations: 171.7 kB / 0.5651 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.3785, allocations: 15.92 kB / 0.5651 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.3787, allocations: 127.6 kB / 0.5652 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000327/0.379, allocations: 243.5 kB / 0.5655 GB, free: 340 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.379, allocations: 4 kB / 0.5655 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.3792, allocations: 47.98 kB / 0.5655 GB, free: 288 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.3793, allocations: 91.61 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.3794, allocations: 67.25 kB / 0.5657 GB, free: 128 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.3798, allocations: 277 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3798, allocations: 4 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3798, allocations: 4 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3798, allocations: 0 / 0.5659 GB, free: 15.85 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.0008824/0.3807, allocations: 0.5892 MB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3808, allocations: 8.031 kB / 0.5665 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.761e-05/0.3809, allocations: 44.66 kB / 0.5666 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.3812, allocations: 254.7 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3812, allocations: 384 / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.3812, allocations: 4.375 kB / 0.5668 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.3814, allocations: 54.23 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.3814, allocations: 4.188 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.3814, allocations: 11.94 kB / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3814, allocations: 0 / 0.5669 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.3816, allocations: 27.97 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005633/0.3821, allocations: 336.3 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.3822, allocations: 42.66 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.3823, allocations: 20.88 kB / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.3823, allocations: 0 / 0.5673 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.3824, allocations: 34.56 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 2.986e-06/0.3824, allocations: 4 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001033/0.3834, allocations: 308.5 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.3834, allocations: 55.41 kB / 0.5677 GB, free: 13.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009832/0.3844, allocations: 0.8574 MB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3845, allocations: 29.7 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.3847, allocations: 220 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.3847, allocations: 27.8 kB / 0.5688 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.3847, allocations: 17.72 kB / 0.5688 GB, free: 12.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3849, allocations: 370.7 kB / 0.5691 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.385, allocations: 23.92 kB / 0.5692 GB, free: 12.37 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.3851, allocations: 23.98 kB / 0.5692 GB, free: 12.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.3853, allocations: 72.98 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3853, allocations: 0 / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002654/0.3855, allocations: 137.4 kB / 0.5694 GB, free: 12.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.3855, allocations: 10.19 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3856, allocations: 3.984 kB / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3856, allocations: 0 / 0.5694 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.3857, allocations: 12 kB / 0.5694 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3857, allocations: 7.984 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.3857, allocations: 4 kB / 0.5694 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.3858, allocations: 11.88 kB / 0.5694 GB, free: 12.09 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.0002239/0.386, allocations: 221.7 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.3861, allocations: 47.67 kB / 0.5697 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.3864, allocations: 157.4 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3864, allocations: 0 / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.3864, allocations: 0 / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3864, allocations: 432 / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.3871, allocations: 446.8 kB / 0.5703 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3871, allocations: 4 kB / 0.5703 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.881e-05/0.3872, allocations: 23.92 kB / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.3872, allocations: 0 / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3872, allocations: 4 kB / 0.5703 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3872, allocations: 3.938 kB / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3872, allocations: 0 / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003113/0.3875, allocations: 236.1 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.3876, allocations: 39.67 kB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.3876, allocations: 12.02 kB / 0.5706 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.621e-05/0.3877, allocations: 7.938 kB / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.3877, allocations: 7.984 kB / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.3877, allocations: 0 / 0.5706 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006682/0.3884, allocations: 0.6511 MB / 0.5712 GB, free: 10.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3884, allocations: 0 / 0.5712 GB, free: 10.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.3887, allocations: 28 kB / 0.5713 GB, free: 10.14 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.001985/0.3907, allocations: 0.4888 MB / 0.5717 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.3909, allocations: 55.97 kB / 0.5718 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3909, allocations: 0 / 0.5718 GB, free: 9.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-05/0.391, allocations: 39.91 kB / 0.5718 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.0004491/0.3915, allocations: 28.53 kB / 0.5718 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.3929, allocations: 0.8675 MB / 0.5727 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.3931, allocations: 220.1 kB / 0.5729 GB, free: 8.559 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.3932, allocations: 23.38 kB / 0.5729 GB, free: 8.539 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3932, allocations: 0 / 0.5729 GB, free: 8.539 MB / 414.1 MB Notification: Performance of Templates: time 0.008763/0.402, allocations: 4.091 MB / 0.5769 GB, free: 4.445 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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: 8.047067024745047]