Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2503/0.2503, allocations: 46.97 MB / 361.6 MB, free: 4.133 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 71.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3358, allocations: 66.04 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003217/0.339, allocations: 1.649 MB / 0.5635 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3401, allocations: 0.5738 MB / 0.564 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.3402, allocations: 0 / 0.564 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000548/0.3407, allocations: 455.1 kB / 0.5644 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004794/0.3412, allocations: 291.3 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.3416, allocations: 175.4 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.3419, allocations: 183.5 kB / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.3419, allocations: 19.03 kB / 0.5651 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.3421, allocations: 115.7 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.3423, allocations: 255.5 kB / 0.5654 GB, free: 484 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3423, allocations: 4 kB / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3424, allocations: 47.98 kB / 0.5655 GB, free: 432 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.721e-05/0.3425, allocations: 91.56 kB / 0.5656 GB, free: 340 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.537e-05/0.3426, allocations: 75.22 kB / 0.5656 GB, free: 264 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003586/0.343, allocations: 282.5 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.343, allocations: 7.938 kB / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.343, allocations: 0 / 0.5659 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.343, allocations: 4 kB / 0.5659 GB, free: 15.97 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.0007075/0.3437, allocations: 0.5815 MB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3437, allocations: 12.03 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.3438, allocations: 48.61 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.3441, allocations: 250.7 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.691e-06/0.3441, allocations: 384 / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.3441, allocations: 8.375 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3443, allocations: 61.8 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3443, allocations: 4 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3443, allocations: 3.984 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.3443, allocations: 0 / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.3444, allocations: 39.91 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.345, allocations: 340.3 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.3451, allocations: 54.53 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.3451, allocations: 16.94 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.3451, allocations: 0 / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3452, allocations: 34.56 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.3452, allocations: 4 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001016/0.3462, allocations: 320.5 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3462, allocations: 55.41 kB / 0.5677 GB, free: 14.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009927/0.3472, allocations: 0.8652 MB / 0.5685 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.3472, allocations: 29.7 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.3475, allocations: 216 kB / 0.5688 GB, free: 12.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.3475, allocations: 35.7 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.3476, allocations: 21.72 kB / 0.5688 GB, free: 12.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.3478, allocations: 362.8 kB / 0.5692 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.255e-05/0.3479, allocations: 27.98 kB / 0.5692 GB, free: 12.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.348, allocations: 39.91 kB / 0.5692 GB, free: 12.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.3482, allocations: 73.05 kB / 0.5693 GB, free: 12.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3482, allocations: 4 kB / 0.5693 GB, free: 12.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002761/0.3484, allocations: 149.3 kB / 0.5695 GB, free: 12.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.3485, allocations: 4 kB / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3485, allocations: 0 / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3485, allocations: 0 / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3486, allocations: 27.92 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3486, allocations: 3.938 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.726e-05/0.3487, allocations: 4 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3487, allocations: 0 / 0.5695 GB, free: 12.14 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.0002447/0.3489, allocations: 221.8 kB / 0.5697 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/0.349, allocations: 43.72 kB / 0.5697 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.3494, allocations: 169.4 kB / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3494, allocations: 0 / 0.5699 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3494, allocations: 3.938 kB / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3494, allocations: 0 / 0.5699 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/0.3501, allocations: 470.9 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3501, allocations: 3.938 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.406e-05/0.3502, allocations: 19.98 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.3502, allocations: 3.938 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.3502, allocations: 0 / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3502, allocations: 4 kB / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3502, allocations: 0 / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.3505, allocations: 252.1 kB / 0.5706 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.3506, allocations: 44.11 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.3506, allocations: 3.938 kB / 0.5707 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.3507, allocations: 7.984 kB / 0.5707 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.3507, allocations: 7.938 kB / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.3507, allocations: 7.984 kB / 0.5707 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006576/0.3514, allocations: 0.6472 MB / 0.5713 GB, free: 10.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3514, allocations: 7.938 kB / 0.5713 GB, free: 10.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3516, allocations: 27.94 kB / 0.5714 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.001871/0.3535, allocations: 499.5 kB / 0.5718 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.3538, allocations: 79.88 kB / 0.5719 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3538, allocations: 0 / 0.5719 GB, free: 9.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.3539, allocations: 40.05 kB / 0.572 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.3543, allocations: 27.58 kB / 0.572 GB, free: 9.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.3555, allocations: 0.8385 MB / 0.5728 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.3557, allocations: 232.1 kB / 0.573 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.098e-05/0.3558, allocations: 20.66 kB / 0.573 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/0.3558, allocations: 15.44 kB / 0.5731 GB, free: 8.566 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3558, allocations: 0 / 0.5731 GB, free: 8.566 MB / 414.1 MB Notification: Performance of Templates: time 0.005604/0.3614, allocations: 1.975 MB / 0.575 GB, free: 6.605 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 5.076304204994813]