Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001824/0.001824, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002187/0.002187, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.519/1.519, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2256/0.2256, allocations: 44.93 MB / 359.6 MB, free: 6.086 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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [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.002143/0.002143, allocations: 67.91 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3501, allocations: 65.47 MB / 0.5582 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003963/0.3541, allocations: 1.972 MB / 0.5601 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002487/0.3566, allocations: 1.295 MB / 0.5614 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.3567, allocations: 7.938 kB / 0.5614 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.357, allocations: 63.48 kB / 0.5615 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005217/0.3575, allocations: 211.2 kB / 0.5617 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3588, allocations: 0.5985 MB / 0.5622 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004229/0.3592, allocations: 327 kB / 0.5626 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3594, allocations: 48.7 kB / 0.5626 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.3597, allocations: 143.4 kB / 0.5627 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.3599, allocations: 199.2 kB / 0.5629 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.36, allocations: 16 kB / 0.5629 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.3601, allocations: 67.97 kB / 0.563 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.3603, allocations: 143.5 kB / 0.5631 GB, free: 2.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.3604, allocations: 126.9 kB / 0.5633 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.361, allocations: 416.5 kB / 0.5637 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.361, allocations: 0 / 0.5637 GB, free: 1.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.361, allocations: 0 / 0.5637 GB, free: 1.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.361, allocations: 0 / 0.5637 GB, free: 1.777 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001086/0.3621, allocations: 0.7213 MB / 0.5644 GB, free: 1.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.3621, allocations: 11.97 kB / 0.5644 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.3624, allocations: 72.55 kB / 0.5644 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006812/0.3631, allocations: 402.5 kB / 0.5648 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.3631, allocations: 8.375 kB / 0.5648 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.3631, allocations: 24.11 kB / 0.5649 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.3634, allocations: 144.9 kB / 0.565 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.3634, allocations: 7.953 kB / 0.565 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.3634, allocations: 4 kB / 0.565 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3634, allocations: 4 kB / 0.565 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/0.3637, allocations: 91.94 kB / 0.5651 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009571/0.3646, allocations: 0.5861 MB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.3649, allocations: 117.4 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.365, allocations: 45.75 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.365, allocations: 8 kB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3651, allocations: 38.5 kB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.3651, allocations: 3.938 kB / 0.5659 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001542/0.3666, allocations: 0.5659 MB / 0.5664 GB, free: 14.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.3667, allocations: 77.11 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.3677, allocations: 0.8741 MB / 0.5674 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.3678, allocations: 25.7 kB / 0.5674 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.368, allocations: 260.3 kB / 0.5676 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.3681, allocations: 51.53 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.3681, allocations: 33.7 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.3684, allocations: 370.8 kB / 0.5681 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.3685, allocations: 67.95 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.3688, allocations: 81.66 kB / 0.5682 GB, free: 12.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.3691, allocations: 157.6 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3691, allocations: 3.938 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000559/0.3697, allocations: 245.2 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3697, allocations: 4 kB / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3697, allocations: 0 / 0.5686 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3697, allocations: 4 kB / 0.5686 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.3699, allocations: 43.91 kB / 0.5686 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.3699, allocations: 320 / 0.5686 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.3701, allocations: 15.92 kB / 0.5687 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.3701, allocations: 4 kB / 0.5687 GB, free: 12.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002462/0.3703, allocations: 221.7 kB / 0.5689 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3704, allocations: 59.58 kB / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006444/0.3711, allocations: 286.1 kB / 0.5692 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.3711, allocations: 0 / 0.5692 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3711, allocations: 4.562 kB / 0.5692 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3711, allocations: 0 / 0.5692 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.3723, allocations: 0.7197 MB / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3723, allocations: 4 kB / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.3725, allocations: 43.91 kB / 0.57 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3725, allocations: 0 / 0.57 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.3725, allocations: 0 / 0.57 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3725, allocations: 4 kB / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3725, allocations: 0 / 0.57 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.3731, allocations: 433.3 kB / 0.5704 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.3732, allocations: 63.66 kB / 0.5704 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.3733, allocations: 7.984 kB / 0.5704 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.3735, allocations: 8 kB / 0.5705 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.3735, allocations: 19.91 kB / 0.5705 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3735, allocations: 4 kB / 0.5705 GB, free: 10.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007729/0.3743, allocations: 0.6432 MB / 0.5711 GB, free: 9.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3743, allocations: 4 kB / 0.5711 GB, free: 9.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003583/0.3747, allocations: 55.94 kB / 0.5712 GB, free: 9.805 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 (16): * Single equations (assignments): 16 * 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.001672/0.3763, allocations: 433.3 kB / 0.5716 GB, free: 9.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004613/0.3768, allocations: 159.8 kB / 0.5717 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3768, allocations: 0 / 0.5717 GB, free: 9.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.377, allocations: 87.88 kB / 0.5718 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.3776, allocations: 77.92 kB / 0.5719 GB, free: 9.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.3791, allocations: 0.9635 MB / 0.5728 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.3794, allocations: 261.2 kB / 0.5731 GB, free: 7.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.3795, allocations: 43.41 kB / 0.5731 GB, free: 7.926 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3795, allocations: 4 kB / 0.5731 GB, free: 7.922 MB / 414.1 MB Notification: Performance of Templates: time 0.009756/0.3893, allocations: 5.954 MB / 0.5789 GB, free: 1.977 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.55087279714644]