Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000843/0.000843, allocations: 95.95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008603/0.0008603, allocations: 173.7 kB / 18.25 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.149/1.149, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1582/0.1582, allocations: 44.25 MB / 337.7 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002614/0.0002614, allocations: 12.86 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08683/0.0871, allocations: 61.92 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001493/0.08863, allocations: 1.278 MB / 473.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005994/0.08924, allocations: 383.4 kB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.08928, allocations: 4 kB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000146/0.08944, allocations: 19.91 kB / 474 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.08955, allocations: 27.92 kB / 474.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.08976, allocations: 79.34 kB / 474.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.08987, allocations: 59.78 kB / 474.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.032e-05/0.08995, allocations: 4 kB / 474.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.422e-05/0.08999, allocations: 23.91 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.277e-05/0.09004, allocations: 19.86 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.09006, allocations: 0 / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.994e-05/0.09012, allocations: 28 kB / 474.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.09016, allocations: 15.86 kB / 474.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.09021, allocations: 49.56 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.09033, allocations: 64.08 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.09034, allocations: 0 / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09034, allocations: 0 / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.815e-06/0.09035, allocations: 0 / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003249/0.09068, allocations: 363.3 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.09072, allocations: 12.03 kB / 474.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.09075, allocations: 34.75 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.209e-05/0.09078, allocations: 8.844 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.09092, allocations: 192.2 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.09094, allocations: 4.312 kB / 475 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.09097, allocations: 8.25 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.09108, allocations: 53.62 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.0911, allocations: 0 / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.09111, allocations: 4 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.09112, allocations: 0 / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.607e-05/0.09121, allocations: 27.97 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002604/0.09148, allocations: 264.9 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.09165, allocations: 50.5 kB / 475.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.09171, allocations: 20.94 kB / 475.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.09173, allocations: 3.984 kB / 475.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.09176, allocations: 34.56 kB / 475.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.09176, allocations: 0 / 475.5 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004673/0.09223, allocations: 161.2 kB / 475.6 MB, free: 9.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.09227, allocations: 51.41 kB / 475.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.09238, allocations: 142.1 kB / 475.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.0924, allocations: 25.7 kB / 475.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.09244, allocations: 92.12 kB / 475.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.09247, allocations: 15.75 kB / 475.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.09249, allocations: 17.72 kB / 476 MB, free: 9.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.09259, allocations: 322.8 kB / 476.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.09266, allocations: 19.98 kB / 476.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.721e-05/0.09272, allocations: 23.98 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.09285, allocations: 60.77 kB / 476.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.09286, allocations: 0 / 476.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001683/0.09303, allocations: 85.58 kB / 476.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.09305, allocations: 4 kB / 476.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.09306, allocations: 8 kB / 476.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.105e-06/0.09307, allocations: 0 / 476.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.09314, allocations: 15.98 kB / 476.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.09315, allocations: 0 / 476.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.09319, allocations: 4.25 kB / 476.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.0932, allocations: 7.938 kB / 476.5 MB, free: 8.891 MB / 350.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 6.379e-05/0.09327, allocations: 121.8 kB / 476.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.09331, allocations: 11.91 kB / 476.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.09352, allocations: 102 kB / 476.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.09353, allocations: 3.938 kB / 476.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.09354, allocations: 0 / 476.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.09355, allocations: 0 / 476.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.0939, allocations: 354.5 kB / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.09391, allocations: 288 / 477.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.199e-05/0.09397, allocations: 15.98 kB / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.09398, allocations: 0 / 477.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.09399, allocations: 3.938 kB / 477.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.094, allocations: 7.938 kB / 477.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.09401, allocations: 0 / 477.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.09421, allocations: 187.4 kB / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.09426, allocations: 89.02 kB / 477.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.09427, allocations: 3.938 kB / 477.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.534e-05/0.09434, allocations: 15.92 kB / 477.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.544e-05/0.09438, allocations: 4 kB / 477.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.09438, allocations: 0 / 477.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.412e-05/0.09445, allocations: 114.2 kB / 477.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.09446, allocations: 0 / 477.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.09468, allocations: 16 kB / 477.5 MB, free: 7.758 MB / 350.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.001113/0.0958, allocations: 1.01 MB / 478.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.09597, allocations: 59.91 kB / 478.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.09598, allocations: 0 / 478.6 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.831e-05/0.09606, allocations: 27.98 kB / 478.6 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.09634, allocations: 23.8 kB / 478.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.0976, allocations: 1.438 MB / 480.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.09781, allocations: 0.6926 MB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.241e-05/0.09785, allocations: 4.484 kB / 480.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.876e-05/0.09789, allocations: 23.42 kB / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.0979, allocations: 0 / 480.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.294/1.392, allocations: 2.053 MB / 482.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/1.392, allocations: 227.8 kB / 483.1 MB, free: 2.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/3.239, allocations: 3.938 kB / 483.1 MB, free: 2.309 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches