Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.001743/0.001743, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002109/0.002109, allocations: 214.2 kB / 23.73 MB, free: 4.16 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.625/1.625, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2337/0.2337, allocations: 46.95 MB / 360.9 MB, free: 4.02 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 67.84 kB / 0.4966 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3377, allocations: 66.02 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003104/0.3408, allocations: 1.668 MB / 0.5627 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.3428, allocations: 1.259 MB / 0.5639 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.3428, allocations: 4 kB / 0.5639 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002036/0.343, allocations: 27.84 kB / 0.564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.3434, allocations: 91.55 kB / 0.5641 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.3438, allocations: 175.4 kB / 0.5642 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.3439, allocations: 75.78 kB / 0.5643 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.748e-05/0.344, allocations: 15.97 kB / 0.5643 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.3441, allocations: 31.92 kB / 0.5643 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.3442, allocations: 39.77 kB / 0.5644 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.3442, allocations: 8 kB / 0.5644 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.3444, allocations: 91.89 kB / 0.5645 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.3445, allocations: 19.91 kB / 0.5645 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.3445, allocations: 23.88 kB / 0.5645 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.3448, allocations: 145.9 kB / 0.5647 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3448, allocations: 0 / 0.5647 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3448, allocations: 7.938 kB / 0.5647 GB, free: 500 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3448, allocations: 0 / 0.5647 GB, free: 500 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005469/0.3453, allocations: 337.6 kB / 0.565 GB, free: 132 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3454, allocations: 16.03 kB / 0.565 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.3454, allocations: 8.891 kB / 0.565 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.3456, allocations: 130.4 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3456, allocations: 4.375 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3457, allocations: 4.375 kB / 0.5651 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.3459, allocations: 113.1 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3459, allocations: 0 / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3459, allocations: 4 kB / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3459, allocations: 0 / 0.5653 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.3461, allocations: 47.95 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004285/0.3465, allocations: 244.4 kB / 0.5655 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.3466, allocations: 50.48 kB / 0.5656 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.268e-05/0.3467, allocations: 24.94 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.3467, allocations: 0 / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.3468, allocations: 34.56 kB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3468, allocations: 3.938 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007989/0.3476, allocations: 233.3 kB / 0.5659 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.3476, allocations: 81.05 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3478, allocations: 147.9 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3478, allocations: 29.7 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.3479, allocations: 104.1 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.3479, allocations: 23.86 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.348, allocations: 25.7 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3481, allocations: 318.8 kB / 0.5666 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.3482, allocations: 43.95 kB / 0.5666 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.3484, allocations: 75.39 kB / 0.5667 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.3486, allocations: 96.77 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3486, allocations: 0 / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003015/0.3489, allocations: 117.6 kB / 0.5669 GB, free: 14.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3489, allocations: 8 kB / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.3489, allocations: 0 / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.3489, allocations: 0 / 0.5669 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.3491, allocations: 23.97 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3491, allocations: 4 kB / 0.5669 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.3491, allocations: 8 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.142e-05/0.3492, allocations: 7.938 kB / 0.5669 GB, free: 13.96 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 (7): * Single equations (assignments): 7 * 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.0001008/0.3493, allocations: 117.8 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.3493, allocations: 11.89 kB / 0.5671 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.3497, allocations: 146.6 kB / 0.5672 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3497, allocations: 4 kB / 0.5672 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3497, allocations: 0 / 0.5672 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3497, allocations: 4 kB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005883/0.3503, allocations: 354 kB / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3503, allocations: 0 / 0.5675 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.759e-05/0.3504, allocations: 15.98 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3504, allocations: 4 kB / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3504, allocations: 4 kB / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3504, allocations: 4 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.3504, allocations: 7.922 kB / 0.5676 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.3507, allocations: 223.4 kB / 0.5678 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.3508, allocations: 7.953 kB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.3508, allocations: 3.938 kB / 0.5678 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.699e-05/0.3509, allocations: 11.98 kB / 0.5678 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.3509, allocations: 7.938 kB / 0.5678 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.3509, allocations: 11.98 kB / 0.5678 GB, free: 12.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.351, allocations: 113.6 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.351, allocations: 0 / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.3513, allocations: 43.86 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001952/0.3533, allocations: 0.5223 MB / 0.5685 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.3536, allocations: 87.92 kB / 0.5686 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3536, allocations: 0 / 0.5686 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.3538, allocations: 55.89 kB / 0.5686 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.3541, allocations: 17.98 kB / 0.5686 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005343/0.3546, allocations: 221.8 kB / 0.5689 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.223e-05/0.3547, allocations: 87.66 kB / 0.5689 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.174e-05/0.3548, allocations: 24.66 kB / 0.569 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.3549, allocations: 23.42 kB / 0.569 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3549, allocations: 3.938 kB / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of Templates: time 0.005625/0.3605, allocations: 2 MB / 0.5709 GB, free: 9.977 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.385863063856959]