Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001858/0.001858, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001791/0.001791, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2394/0.2394, allocations: 44.92 MB / 359.6 MB, free: 6.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 67.91 kB / 0.4943 GB, free: 10.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3427, allocations: 65.47 MB / 0.5583 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003234/0.3459, allocations: 1.687 MB / 0.5599 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.347, allocations: 0.5698 MB / 0.5605 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.347, allocations: 0 / 0.5605 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.3473, allocations: 67.78 kB / 0.5605 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003264/0.3476, allocations: 107.6 kB / 0.5606 GB, free: 5.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.348, allocations: 135.4 kB / 0.5608 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.3481, allocations: 91.75 kB / 0.5609 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3482, allocations: 12.23 kB / 0.5609 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/0.3483, allocations: 47.77 kB / 0.5609 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.3484, allocations: 63.8 kB / 0.561 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.3484, allocations: 4 kB / 0.561 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.3485, allocations: 47.98 kB / 0.561 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-05/0.3486, allocations: 27.86 kB / 0.5611 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.3487, allocations: 39.67 kB / 0.5611 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3489, allocations: 125.8 kB / 0.5612 GB, free: 4.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3489, allocations: 0 / 0.5612 GB, free: 4.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3489, allocations: 0 / 0.5612 GB, free: 4.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3489, allocations: 0 / 0.5612 GB, free: 4.68 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.0005907/0.3495, allocations: 357.5 kB / 0.5616 GB, free: 4.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3495, allocations: 8.031 kB / 0.5616 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.3496, allocations: 12.89 kB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.3497, allocations: 143 kB / 0.5617 GB, free: 4.117 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3498, allocations: 4.375 kB / 0.5617 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.3498, allocations: 8.375 kB / 0.5617 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.35, allocations: 65.73 kB / 0.5618 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.35, allocations: 0 / 0.5618 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.35, allocations: 0 / 0.5618 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.35, allocations: 8 kB / 0.5618 GB, free: 4.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.3501, allocations: 39.95 kB / 0.5618 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.3506, allocations: 283.7 kB / 0.5621 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.3508, allocations: 58.53 kB / 0.5622 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.561e-05/0.3509, allocations: 24.97 kB / 0.5622 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3509, allocations: 4 kB / 0.5622 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3509, allocations: 30.66 kB / 0.5622 GB, free: 3.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3509, allocations: 3.938 kB / 0.5622 GB, free: 3.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001425/0.3524, allocations: 401 kB / 0.5626 GB, free: 3.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3524, allocations: 59.34 kB / 0.5627 GB, free: 3.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.3527, allocations: 206.3 kB / 0.5629 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.3527, allocations: 33.7 kB / 0.5629 GB, free: 2.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.3528, allocations: 104.1 kB / 0.563 GB, free: 2.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.3528, allocations: 35.7 kB / 0.563 GB, free: 2.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-05/0.3529, allocations: 25.7 kB / 0.563 GB, free: 2.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.353, allocations: 322.8 kB / 0.5634 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3531, allocations: 47.97 kB / 0.5634 GB, free: 2.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3533, allocations: 44.02 kB / 0.5634 GB, free: 2.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002492/0.3535, allocations: 104.7 kB / 0.5635 GB, free: 2.117 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3535, allocations: 0 / 0.5635 GB, free: 2.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003165/0.3538, allocations: 146 kB / 0.5637 GB, free: 1.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3538, allocations: 4 kB / 0.5637 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3538, allocations: 3.938 kB / 0.5637 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3539, allocations: 4 kB / 0.5637 GB, free: 1.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.354, allocations: 35.91 kB / 0.5637 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.354, allocations: 0 / 0.5637 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.354, allocations: 11.98 kB / 0.5637 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.3541, allocations: 8 kB / 0.5637 GB, free: 1.902 MB / 398.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.0001159/0.3542, allocations: 133.8 kB / 0.5639 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.3542, allocations: 15.91 kB / 0.5639 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.3546, allocations: 163 kB / 0.564 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3546, allocations: 3.938 kB / 0.564 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3546, allocations: 4 kB / 0.5641 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3546, allocations: 0 / 0.5641 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000721/0.3553, allocations: 439.1 kB / 0.5645 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3553, allocations: 4 kB / 0.5645 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3555, allocations: 31.97 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3555, allocations: 4.062 kB / 0.5645 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3555, allocations: 7.938 kB / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3555, allocations: 0 / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3555, allocations: 0 / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.3559, allocations: 261 kB / 0.5648 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/0.3559, allocations: 11.91 kB / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.3559, allocations: 0 / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.356, allocations: 11.98 kB / 0.5648 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.356, allocations: 15.92 kB / 0.5648 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3561, allocations: 4 kB / 0.5648 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.3562, allocations: 160.2 kB / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3562, allocations: 0 / 0.565 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.3565, allocations: 35.92 kB / 0.565 GB, free: 0.5195 MB / 398.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.001726/0.3582, allocations: 461 kB / 0.5654 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.3585, allocations: 107.8 kB / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3585, allocations: 0 / 0.5655 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.3587, allocations: 55.89 kB / 0.5656 GB, free: 88 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.3591, allocations: 23.92 kB / 0.5656 GB, free: 64 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007044/0.3598, allocations: 330.6 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3601, allocations: 0.7079 MB / 0.5666 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.3602, allocations: 19.42 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3602, allocations: 0 / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of Templates: time 0.004086/0.3643, allocations: 1.989 MB / 0.5686 GB, free: 12.96 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.850091974949464]