Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001754/0.001754, allocations: 118.6 kB / 17.78 MB, free: 5.125 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.001855/0.001855, allocations: 185 kB / 18.72 MB, free: 4.203 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.498/1.498, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2224/0.2224, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001835/0.001835, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3208, allocations: 60.81 MB / 0.5184 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002597/0.3234, allocations: 1.628 MB / 0.52 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006769/0.3241, allocations: 462 kB / 0.5205 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.406e-05/0.3242, allocations: 1.031 kB / 0.5205 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005794/0.3247, allocations: 454.4 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.3251, allocations: 249.7 kB / 0.5211 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.3255, allocations: 171.4 kB / 0.5213 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002408/0.3258, allocations: 172.6 kB / 0.5215 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3259, allocations: 19.67 kB / 0.5215 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.326, allocations: 109.1 kB / 0.5216 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.3262, allocations: 212.3 kB / 0.5218 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.3263, allocations: 3.188 kB / 0.5218 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.424e-05/0.3264, allocations: 35.27 kB / 0.5218 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.572e-05/0.3265, allocations: 82.09 kB / 0.5219 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.085e-05/0.3265, allocations: 113.8 kB / 0.522 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.3268, allocations: 265.7 kB / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3268, allocations: 0 / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3268, allocations: 1.062 kB / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3269, allocations: 0 / 0.5223 GB, free: 1.273 MB / 382.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.0005893/0.3275, allocations: 0.6585 MB / 0.5229 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3275, allocations: 10.33 kB / 0.5229 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.354e-05/0.3275, allocations: 33.11 kB / 0.523 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.3276, allocations: 42.61 kB / 0.523 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.3278, allocations: 316.8 kB / 0.5233 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3278, allocations: 2.75 kB / 0.5233 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.3278, allocations: 3.5 kB / 0.5233 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.328, allocations: 62.23 kB / 0.5234 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.328, allocations: 0.6562 kB / 0.5234 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.328, allocations: 0 / 0.5234 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.3281, allocations: 1.531 kB / 0.5234 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.3282, allocations: 39.7 kB / 0.5234 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.3287, allocations: 417.5 kB / 0.5238 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.3289, allocations: 42.05 kB / 0.5238 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.437e-05/0.3289, allocations: 30.14 kB / 0.5239 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.329, allocations: 0 / 0.5239 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.329, allocations: 41.22 kB / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.329, allocations: 0 / 0.5239 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008235/0.3298, allocations: 310.6 kB / 0.5242 GB, free: 15.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.3299, allocations: 56.78 kB / 0.5243 GB, free: 15.65 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008969/0.3308, allocations: 0.8661 MB / 0.5251 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3308, allocations: 27.3 kB / 0.5251 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.331, allocations: 213.7 kB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.3311, allocations: 23.84 kB / 0.5254 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.3311, allocations: 20.27 kB / 0.5254 GB, free: 15.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.3313, allocations: 358.7 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.3315, allocations: 41.72 kB / 0.5258 GB, free: 14.74 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3316, allocations: 46.95 kB / 0.5258 GB, free: 14.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.3318, allocations: 82.84 kB / 0.5259 GB, free: 14.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3318, allocations: 0 / 0.5259 GB, free: 14.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003378/0.3322, allocations: 168.8 kB / 0.526 GB, free: 14.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3322, allocations: 6.156 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3322, allocations: 0 / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3322, allocations: 0 / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.3323, allocations: 19.58 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.3324, allocations: 6.109 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.95e-05/0.3324, allocations: 11.97 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3325, allocations: 2.266 kB / 0.5261 GB, free: 14.61 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0001976/0.3327, allocations: 220.6 kB / 0.5263 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.3327, allocations: 41.59 kB / 0.5263 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.3331, allocations: 184.2 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3331, allocations: 0 / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.3331, allocations: 1.375 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3331, allocations: 3.938 kB / 0.5265 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007024/0.3338, allocations: 0.508 MB / 0.527 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.3339, allocations: 1.25 kB / 0.527 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.106e-05/0.3339, allocations: 25.36 kB / 0.527 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.334, allocations: 1.375 kB / 0.527 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.334, allocations: 5.594 kB / 0.5271 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.334, allocations: 0 / 0.5271 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.334, allocations: 0 / 0.5271 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.3344, allocations: 262.1 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.314e-05/0.3345, allocations: 114.6 kB / 0.5274 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.3345, allocations: 5.344 kB / 0.5274 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3346, allocations: 12.92 kB / 0.5274 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.3347, allocations: 7.406 kB / 0.5274 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.3347, allocations: 6.25 kB / 0.5274 GB, free: 13.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006356/0.3353, allocations: 0.6516 MB / 0.5281 GB, free: 13.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3353, allocations: 0 / 0.5281 GB, free: 13.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.3356, allocations: 24.12 kB / 0.5281 GB, free: 13.21 MB / 398.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 (7): * Single equations (assignments): 7 * 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.002003/0.3376, allocations: 1.085 MB / 0.5292 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003087/0.3379, allocations: 88.36 kB / 0.5292 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3379, allocations: 3.938 kB / 0.5292 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.3381, allocations: 56.72 kB / 0.5293 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.3385, allocations: 33.91 kB / 0.5293 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.3424, allocations: 3.344 MB / 0.5326 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.3429, allocations: 0.8341 MB / 0.5334 GB, free: 9.375 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.799e-05/0.343, allocations: 21.27 kB / 0.5334 GB, free: 9.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.3432, allocations: 117.6 kB / 0.5335 GB, free: 9.258 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3432, allocations: 0 / 0.5335 GB, free: 9.258 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.3704, allocations: 6.173 MB / 0.5396 GB, free: 6.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/8.782, allocations: 10.98 kB / 0.5396 GB, free: 6.121 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches