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.001621/0.001621, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002052/0.002052, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2439/0.2439, allocations: 46.96 MB / 361.7 MB, free: 4.035 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.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.00218/0.00218, allocations: 63.91 kB / 0.4969 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3448, allocations: 66.03 MB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.00567/0.3504, allocations: 1.975 MB / 0.5633 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003318/0.3537, allocations: 1.088 MB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002365/0.354, allocations: 7.938 kB / 0.5644 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.3548, allocations: 263.1 kB / 0.5646 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00104/0.3558, allocations: 267.1 kB / 0.5649 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.3583, allocations: 0.6648 MB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007566/0.359, allocations: 358.7 kB / 0.5659 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002629/0.3593, allocations: 50.72 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003389/0.3596, allocations: 159.3 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000499/0.3601, allocations: 235.2 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.893e-05/0.3602, allocations: 16 kB / 0.5663 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000298/0.3605, allocations: 71.92 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.3607, allocations: 103.6 kB / 0.5665 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.3609, allocations: 95.16 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007768/0.3617, allocations: 370.2 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3617, allocations: 0 / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3617, allocations: 0 / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.555e-05/0.3617, allocations: 0 / 0.5669 GB, free: 14.54 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.001346/0.363, allocations: 0.6243 MB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3631, allocations: 12.03 kB / 0.5675 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.116e-05/0.3631, allocations: 8.188 kB / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.464e-05/0.3631, allocations: 54.61 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.3633, allocations: 44.66 kB / 0.5676 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.364, allocations: 280.6 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.364, allocations: 4.375 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.364, allocations: 16.12 kB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.3644, allocations: 133.4 kB / 0.568 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.3645, allocations: 3.953 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.3645, allocations: 7.984 kB / 0.5681 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3645, allocations: 4 kB / 0.5681 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.3649, allocations: 95.92 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.366, allocations: 475.4 kB / 0.5686 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.3663, allocations: 110.5 kB / 0.5687 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3664, allocations: 32.84 kB / 0.5687 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.68e-05/0.3665, allocations: 7.984 kB / 0.5688 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.3665, allocations: 34.5 kB / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 2.004e-06/0.3665, allocations: 4 kB / 0.5688 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001611/0.3681, allocations: 459.1 kB / 0.5692 GB, free: 12.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.3682, allocations: 51.41 kB / 0.5693 GB, free: 11.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.3693, allocations: 0.6034 MB / 0.5699 GB, free: 11.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.3693, allocations: 29.7 kB / 0.5699 GB, free: 11.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.3696, allocations: 212.4 kB / 0.5701 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.3697, allocations: 67.42 kB / 0.5702 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3698, allocations: 37.7 kB / 0.5702 GB, free: 10.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002594/0.3701, allocations: 362.7 kB / 0.5705 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.3703, allocations: 63.95 kB / 0.5706 GB, free: 10.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.3706, allocations: 75.89 kB / 0.5707 GB, free: 10.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.371, allocations: 151.3 kB / 0.5708 GB, free: 10.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.371, allocations: 4 kB / 0.5708 GB, free: 10.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006809/0.3717, allocations: 233.2 kB / 0.571 GB, free: 10.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.3717, allocations: 4 kB / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.3717, allocations: 0 / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.3717, allocations: 4 kB / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.372, allocations: 39.91 kB / 0.5711 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.372, allocations: 4 kB / 0.5711 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.3722, allocations: 8 kB / 0.5711 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.3722, allocations: 7.938 kB / 0.5711 GB, free: 10.03 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.0002097/0.3724, allocations: 181.7 kB / 0.5713 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.3725, allocations: 47.67 kB / 0.5713 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000864/0.3734, allocations: 285.6 kB / 0.5716 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.3734, allocations: 0 / 0.5716 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3734, allocations: 8 kB / 0.5716 GB, free: 9.496 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/0.3734, allocations: 3.984 kB / 0.5716 GB, free: 9.492 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.375, allocations: 0.6364 MB / 0.5722 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.375, allocations: 0 / 0.5722 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.3752, allocations: 31.98 kB / 0.5723 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3752, allocations: 0 / 0.5723 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.3752, allocations: 8 kB / 0.5723 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.3752, allocations: 3.938 kB / 0.5723 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3752, allocations: 7.938 kB / 0.5723 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006868/0.3759, allocations: 335.1 kB / 0.5726 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.376, allocations: 43.7 kB / 0.5726 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.3761, allocations: 0 / 0.5726 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.3763, allocations: 19.92 kB / 0.5727 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.3763, allocations: 7.984 kB / 0.5727 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.3764, allocations: 8 kB / 0.5727 GB, free: 8.336 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006646/0.377, allocations: 446.8 kB / 0.5731 GB, free: 7.902 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.377, allocations: 0 / 0.5731 GB, free: 7.902 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005822/0.3776, allocations: 59.92 kB / 0.5732 GB, free: 7.844 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.004828/0.3824, allocations: 1.534 MB / 0.5747 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005416/0.383, allocations: 163.8 kB / 0.5748 GB, free: 6.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.383, allocations: 0 / 0.5748 GB, free: 6.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.3832, allocations: 90.55 kB / 0.5749 GB, free: 6.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007115/0.3839, allocations: 89.02 kB / 0.575 GB, free: 6.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006009/0.3899, allocations: 3.331 MB / 0.5782 GB, free: 2.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3903, allocations: 224.8 kB / 0.5785 GB, free: 2.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002783/0.3905, allocations: 62.22 kB / 0.5785 GB, free: 2.613 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/0.3908, allocations: 143.3 kB / 0.5787 GB, free: 2.473 MB / 414.1 MB Notification: Performance of SimCode: time 1.352e-06/0.3908, allocations: 0 / 0.5787 GB, free: 2.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.4257, allocations: 8.287 MB / 0.5867 GB, free: 10.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.29, allocations: 6.469 kB / 0.5868 GB, free: 10.21 MB / 430.1 MB " [Timeout remaining time 647] (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.620623297989368]