Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001758/0.001758, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002219/0.002219, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.563/1.563, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2561/0.2561, allocations: 46.93 MB / 361.7 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 71.88 kB / 0.4969 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3783, allocations: 66.03 MB / 0.5614 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004827/0.3831, allocations: 2.069 MB / 0.5634 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.3856, allocations: 1.143 MB / 0.5646 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.3859, allocations: 4 kB / 0.5646 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006267/0.3865, allocations: 271 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007204/0.3872, allocations: 255.1 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.3889, allocations: 0.6644 MB / 0.5657 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006396/0.3895, allocations: 358.8 kB / 0.5661 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.3897, allocations: 58.72 kB / 0.5661 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000266/0.39, allocations: 159.3 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.3904, allocations: 223.2 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.3904, allocations: 12 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.3906, allocations: 83.95 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001582/0.3908, allocations: 99.55 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.3909, allocations: 134.9 kB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000577/0.3915, allocations: 362.2 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3915, allocations: 0 / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3915, allocations: 0 / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.3915, allocations: 3.938 kB / 0.5671 GB, free: 14.63 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001062/0.3926, allocations: 0.6359 MB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.3927, allocations: 12.03 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.516e-05/0.3927, allocations: 4.188 kB / 0.5678 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.773e-05/0.3927, allocations: 38.75 kB / 0.5678 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.3928, allocations: 44.66 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/0.3933, allocations: 284.6 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3933, allocations: 8.375 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.3934, allocations: 16.12 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.3937, allocations: 129.5 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.3937, allocations: 3.953 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.3937, allocations: 8 kB / 0.5683 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3937, allocations: 4 kB / 0.5683 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.3939, allocations: 91.88 kB / 0.5684 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00094/0.3949, allocations: 0.4916 MB / 0.5689 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.3951, allocations: 102.5 kB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.899e-05/0.3952, allocations: 40.77 kB / 0.569 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.3952, allocations: 8 kB / 0.569 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.3952, allocations: 38.72 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.3952, allocations: 3.938 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001215/0.3965, allocations: 455 kB / 0.5695 GB, free: 12.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.3965, allocations: 55.41 kB / 0.5695 GB, free: 12.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007483/0.3973, allocations: 0.6073 MB / 0.5701 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.3973, allocations: 29.7 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.3975, allocations: 212.4 kB / 0.5704 GB, free: 11.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.711e-05/0.3975, allocations: 59.44 kB / 0.5704 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/0.3976, allocations: 41.7 kB / 0.5705 GB, free: 11.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.3978, allocations: 358.7 kB / 0.5708 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.398, allocations: 67.95 kB / 0.5709 GB, free: 10.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3981, allocations: 67.95 kB / 0.5709 GB, free: 10.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.3984, allocations: 160.7 kB / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3984, allocations: 0 / 0.5711 GB, free: 10.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004429/0.3989, allocations: 231.8 kB / 0.5713 GB, free: 10.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.3989, allocations: 8 kB / 0.5713 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3989, allocations: 0 / 0.5713 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3989, allocations: 3.984 kB / 0.5713 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.3991, allocations: 35.98 kB / 0.5713 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3991, allocations: 3.938 kB / 0.5713 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.364e-05/0.3992, allocations: 11.94 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.3992, allocations: 7.984 kB / 0.5714 GB, free: 10.11 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 (17): * Single equations (assignments): 17 * 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.0002041/0.3994, allocations: 181.8 kB / 0.5715 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.3995, allocations: 51.66 kB / 0.5716 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/0.4001, allocations: 277.6 kB / 0.5719 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4001, allocations: 8 kB / 0.5719 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4001, allocations: 0 / 0.5719 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4001, allocations: 0 / 0.5719 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.4012, allocations: 0.6673 MB / 0.5725 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4012, allocations: 0 / 0.5725 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.4013, allocations: 31.98 kB / 0.5725 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4013, allocations: 0 / 0.5725 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.4014, allocations: 8 kB / 0.5726 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.4014, allocations: 3.938 kB / 0.5726 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4014, allocations: 0 / 0.5726 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.4019, allocations: 339 kB / 0.5729 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.402, allocations: 47.7 kB / 0.5729 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.402, allocations: 0 / 0.5729 GB, free: 8.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.4021, allocations: 15.92 kB / 0.5729 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.4022, allocations: 15.98 kB / 0.573 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.4022, allocations: 4 kB / 0.573 GB, free: 8.387 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005458/0.4028, allocations: 450.8 kB / 0.5734 GB, free: 7.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4028, allocations: 0 / 0.5734 GB, free: 7.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003528/0.4031, allocations: 59.86 kB / 0.5734 GB, free: 7.891 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 (17): * Single equations (assignments): 17 * 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.003644/0.4068, allocations: 1.488 MB / 0.5749 GB, free: 6.703 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004143/0.4072, allocations: 159.8 kB / 0.5751 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4072, allocations: 0 / 0.5751 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.4074, allocations: 83.89 kB / 0.5751 GB, free: 6.465 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006295/0.408, allocations: 94.41 kB / 0.5752 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004873/0.4129, allocations: 3.334 MB / 0.5785 GB, free: 2.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.4134, allocations: 0.826 MB / 0.5793 GB, free: 2.121 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.4136, allocations: 62.22 kB / 0.5793 GB, free: 2.062 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.4138, allocations: 139.4 kB / 0.5795 GB, free: 1.926 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4138, allocations: 0 / 0.5795 GB, free: 1.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.4461, allocations: 8.146 MB / 0.5874 GB, free: 9.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.04, allocations: 6.297 kB / 0.5874 GB, free: 9.82 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test20.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: 15.469051059975754]