Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001302/0.001302, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001456/0.001456, allocations: 206 kB / 23.73 MB, free: 4.379 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.463/1.463, 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.2398/0.2398, allocations: 46.95 MB / 360.9 MB, free: 4.031 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.91 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3542, allocations: 66.04 MB / 0.5606 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003292/0.3575, allocations: 1.648 MB / 0.5622 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.3586, allocations: 0.5271 MB / 0.5627 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/0.3587, allocations: 0 / 0.5627 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.3593, allocations: 455.1 kB / 0.5632 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004756/0.3598, allocations: 299.3 kB / 0.5635 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.3601, allocations: 135.4 kB / 0.5636 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.3603, allocations: 171.6 kB / 0.5637 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3604, allocations: 9.828 kB / 0.5638 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.3606, allocations: 115.7 kB / 0.5639 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.3609, allocations: 247.5 kB / 0.5641 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.3609, allocations: 0 / 0.5641 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.847e-05/0.361, allocations: 43.97 kB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3611, allocations: 79.69 kB / 0.5642 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.3612, allocations: 71.25 kB / 0.5643 GB, free: 476 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003593/0.3615, allocations: 274.6 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3615, allocations: 0 / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3615, allocations: 0 / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3615, allocations: 0 / 0.5645 GB, free: 200 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.000794/0.3623, allocations: 0.5855 MB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3624, allocations: 8.031 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.3624, allocations: 34.75 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.3625, allocations: 48.61 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.3628, allocations: 246.8 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3628, allocations: 4.375 kB / 0.5654 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.3628, allocations: 4.375 kB / 0.5655 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3629, allocations: 61.59 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.363, allocations: 0 / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.363, allocations: 0 / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.363, allocations: 0 / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.55e-05/0.3631, allocations: 27.92 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.3635, allocations: 359.7 kB / 0.5659 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3637, allocations: 46.55 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/0.3638, allocations: 20.8 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.3638, allocations: 0 / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.3638, allocations: 34.56 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3638, allocations: 0 / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006423/0.3645, allocations: 233 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3645, allocations: 55.41 kB / 0.5663 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008959/0.3654, allocations: 0.8737 MB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.3654, allocations: 33.7 kB / 0.5671 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.3656, allocations: 224 kB / 0.5674 GB, free: 13.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3656, allocations: 19.83 kB / 0.5674 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.3657, allocations: 17.72 kB / 0.5674 GB, free: 13.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.3659, allocations: 362.8 kB / 0.5677 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.062e-05/0.3659, allocations: 19.98 kB / 0.5678 GB, free: 12.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.04e-05/0.366, allocations: 19.92 kB / 0.5678 GB, free: 12.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.3661, allocations: 44.84 kB / 0.5678 GB, free: 12.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3661, allocations: 7.984 kB / 0.5678 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002239/0.3664, allocations: 121.5 kB / 0.5679 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.3664, allocations: 8 kB / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.3664, allocations: 0 / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3664, allocations: 4 kB / 0.5679 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.3665, allocations: 15.98 kB / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.3665, allocations: 0 / 0.568 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.232e-05/0.3665, allocations: 7.938 kB / 0.568 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.3665, allocations: 4 kB / 0.568 GB, free: 12.48 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 (5): * Single equations (assignments): 5 * 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.0002/0.3667, allocations: 217.8 kB / 0.5682 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.3668, allocations: 43.72 kB / 0.5682 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002994/0.3671, allocations: 133.2 kB / 0.5684 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3671, allocations: 0 / 0.5684 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3671, allocations: 4 kB / 0.5684 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3671, allocations: 3.938 kB / 0.5684 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005793/0.3677, allocations: 421.6 kB / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3677, allocations: 0 / 0.5688 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-05/0.3678, allocations: 19.92 kB / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3678, allocations: 0 / 0.5688 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3678, allocations: 7.938 kB / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3678, allocations: 0 / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3678, allocations: 0 / 0.5688 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.368, allocations: 215.2 kB / 0.569 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.3681, allocations: 35.72 kB / 0.569 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.3681, allocations: 3.938 kB / 0.569 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/0.3682, allocations: 11.98 kB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.3683, allocations: 8 kB / 0.5691 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3683, allocations: 192 / 0.5691 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006701/0.3689, allocations: 0.6589 MB / 0.5697 GB, free: 10.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3689, allocations: 3.938 kB / 0.5697 GB, free: 10.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.3692, allocations: 23.94 kB / 0.5697 GB, free: 10.61 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 (5): * Single equations (assignments): 5 * 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.002054/0.3713, allocations: 1.083 MB / 0.5708 GB, free: 9.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.3715, allocations: 47.97 kB / 0.5708 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3715, allocations: 0 / 0.5708 GB, free: 9.633 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.3715, allocations: 23.92 kB / 0.5708 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.3719, allocations: 33.19 kB / 0.5709 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003851/0.3758, allocations: 3.244 MB / 0.574 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.376, allocations: 220.1 kB / 0.5743 GB, free: 6.008 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.547e-05/0.3761, allocations: 11.98 kB / 0.5743 GB, free: 5.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3762, allocations: 103.4 kB / 0.5744 GB, free: 5.898 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3762, allocations: 0 / 0.5744 GB, free: 5.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03344/0.4097, allocations: 6.602 MB / 0.5808 GB, free: 15.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.23, allocations: 15.28 kB / 0.5808 GB, free: 15.33 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test5.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: 14.257620082003996]