Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.001366/0.001366, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001579/0.001579, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.429/1.429, allocations: 230.3 MB / 257.9 MB, free: 8.23 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.2154/0.2154, allocations: 46.89 MB / 361.3 MB, free: 4.523 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.CombiTable2Dv.Test27,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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 83.84 kB / 0.4971 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3114, allocations: 66.02 MB / 0.5616 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.003102/0.3145, allocations: 1.707 MB / 0.5632 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.3157, allocations: 0.6005 MB / 0.5638 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.3157, allocations: 0 / 0.5638 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.316, allocations: 59.78 kB / 0.5639 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.3163, allocations: 91.61 kB / 0.5639 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.3167, allocations: 186.5 kB / 0.5641 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.3169, allocations: 91.75 kB / 0.5642 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.317, allocations: 15.05 kB / 0.5642 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.3171, allocations: 47.77 kB / 0.5643 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.3172, allocations: 55.81 kB / 0.5643 GB, free: 1.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.3172, allocations: 7.938 kB / 0.5643 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3173, allocations: 51.98 kB / 0.5644 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.3174, allocations: 19.92 kB / 0.5644 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.3174, allocations: 39.72 kB / 0.5644 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.3176, allocations: 111.3 kB / 0.5645 GB, free: 1.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3176, allocations: 3.938 kB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3176, allocations: 0 / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.3176, allocations: 0 / 0.5646 GB, free: 1.523 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.0005163/0.3182, allocations: 345.6 kB / 0.5649 GB, free: 1.152 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3182, allocations: 12.03 kB / 0.5649 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.3182, allocations: 12.84 kB / 0.5649 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.3184, allocations: 139.7 kB / 0.565 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.3184, allocations: 4.312 kB / 0.565 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.3184, allocations: 8.375 kB / 0.5651 GB, free: 0.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3186, allocations: 70.11 kB / 0.5651 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3186, allocations: 192 / 0.5651 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3187, allocations: 3.938 kB / 0.5651 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.3187, allocations: 11.98 kB / 0.5651 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.3188, allocations: 39.97 kB / 0.5652 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.3193, allocations: 295.7 kB / 0.5655 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.3195, allocations: 62.55 kB / 0.5655 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.229e-05/0.3196, allocations: 28.97 kB / 0.5655 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.3196, allocations: 3.984 kB / 0.5655 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3196, allocations: 30.56 kB / 0.5656 GB, free: 360 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3196, allocations: 0 / 0.5656 GB, free: 360 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001573/0.3212, allocations: 429.5 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.3213, allocations: 55.41 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.3215, allocations: 198.1 kB / 0.5662 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.3215, allocations: 25.7 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.3215, allocations: 104.1 kB / 0.5663 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.257e-05/0.3216, allocations: 43.64 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.3216, allocations: 21.72 kB / 0.5664 GB, free: 15.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3218, allocations: 326.8 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.3219, allocations: 59.89 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.3221, allocations: 51.95 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.3224, allocations: 129 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3224, allocations: 4 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003606/0.3227, allocations: 165.5 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3227, allocations: 4 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3227, allocations: 0 / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.3228, allocations: 4 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3229, allocations: 27.97 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3229, allocations: 0 / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.808e-05/0.323, allocations: 15.92 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.323, allocations: 8 kB / 0.5672 GB, free: 14.64 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.0001158/0.3231, allocations: 133.8 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.3231, allocations: 11.91 kB / 0.5673 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000456/0.3236, allocations: 178.3 kB / 0.5675 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3236, allocations: 4 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3236, allocations: 4 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3236, allocations: 7.922 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007783/0.3244, allocations: 482.9 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3244, allocations: 3.938 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.3245, allocations: 31.98 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.3245, allocations: 4 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.3245, allocations: 0 / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.3245, allocations: 8.172 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.3245, allocations: 3.938 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.3249, allocations: 273.1 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.325, allocations: 15.84 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.325, allocations: 3.984 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3251, allocations: 8 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.3251, allocations: 11.98 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3251, allocations: 7.984 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001217/0.3253, allocations: 139.2 kB / 0.5684 GB, free: 13.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3253, allocations: 4 kB / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3255, allocations: 27.92 kB / 0.5685 GB, free: 13.21 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.001698/0.3272, allocations: 464.5 kB / 0.5689 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.3276, allocations: 119.9 kB / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3276, allocations: 0 / 0.569 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.3278, allocations: 63.89 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.3282, allocations: 26.59 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006788/0.3289, allocations: 304.3 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3292, allocations: 0.7158 MB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.3293, allocations: 32.45 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.3294, allocations: 15.44 kB / 0.5702 GB, free: 11.6 MB / 414.1 MB Notification: Performance of SimCode: time 5.52e-07/0.3294, allocations: 7.875 kB / 0.5702 GB, free: 11.59 MB / 414.1 MB Notification: Performance of Templates: time 0.004954/0.3343, allocations: 1.7 MB / 0.5718 GB, free: 9.902 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test27.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.053992417640984]