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.001197/0.001197, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001281/0.001281, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.387/1.387, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2254/0.2254, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.89 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3543, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002849/0.3572, allocations: 1.627 MB / 0.52 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007466/0.358, allocations: 458.6 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.051e-05/0.3581, allocations: 1.188 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006108/0.3587, allocations: 449.9 kB / 0.5209 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.3591, allocations: 248.8 kB / 0.5211 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.3596, allocations: 171.6 kB / 0.5213 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.36, allocations: 177.9 kB / 0.5215 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3601, allocations: 19.62 kB / 0.5215 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.3603, allocations: 112.4 kB / 0.5216 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.3606, allocations: 208.4 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.3606, allocations: 3.406 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.48e-05/0.3607, allocations: 36.34 kB / 0.5218 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.382e-05/0.3608, allocations: 85.7 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.14e-05/0.3609, allocations: 109.7 kB / 0.522 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.3612, allocations: 262 kB / 0.5223 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3613, allocations: 0 / 0.5223 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3613, allocations: 0 / 0.5223 GB, free: 1.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.3613, allocations: 0 / 0.5223 GB, free: 1.422 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.0007319/0.362, allocations: 0.6589 MB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3621, allocations: 9.062 kB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.3621, allocations: 37.55 kB / 0.523 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.3622, allocations: 48.12 kB / 0.523 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.3624, allocations: 307.7 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.3624, allocations: 1.688 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.3625, allocations: 4.438 kB / 0.5233 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.3626, allocations: 62.55 kB / 0.5234 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3627, allocations: 0 / 0.5234 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3627, allocations: 1.469 kB / 0.5234 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.3627, allocations: 0 / 0.5234 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.3628, allocations: 49.11 kB / 0.5234 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.3634, allocations: 412.2 kB / 0.5238 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.3635, allocations: 45.72 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.604e-05/0.3636, allocations: 25.91 kB / 0.5239 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.3637, allocations: 6.172 kB / 0.5239 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3637, allocations: 30.56 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.3637, allocations: 1.625 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009754/0.3647, allocations: 310.5 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.3647, allocations: 57.27 kB / 0.5243 GB, free: 15.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3658, allocations: 0.8624 MB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.3658, allocations: 25.7 kB / 0.5251 GB, free: 15.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.366, allocations: 217.7 kB / 0.5253 GB, free: 15.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.366, allocations: 25.27 kB / 0.5254 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.3661, allocations: 20.05 kB / 0.5254 GB, free: 15.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3663, allocations: 362.5 kB / 0.5257 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.3664, allocations: 37.3 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.3665, allocations: 42.72 kB / 0.5258 GB, free: 14.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.3668, allocations: 90.97 kB / 0.5259 GB, free: 14.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3668, allocations: 1.375 kB / 0.5259 GB, free: 14.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000344/0.3671, allocations: 168 kB / 0.526 GB, free: 14.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3672, allocations: 4.922 kB / 0.526 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3672, allocations: 1.375 kB / 0.526 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3672, allocations: 0 / 0.526 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3673, allocations: 23.94 kB / 0.5261 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3673, allocations: 0 / 0.5261 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.958e-05/0.3674, allocations: 14.23 kB / 0.5261 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3675, allocations: 5.375 kB / 0.5261 GB, free: 14.75 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.0001967/0.3677, allocations: 215.4 kB / 0.5263 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.397e-05/0.3677, allocations: 46.97 kB / 0.5263 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.3681, allocations: 171 kB / 0.5265 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3681, allocations: 5.156 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3681, allocations: 0 / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.3681, allocations: 9.016 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.3689, allocations: 0.5087 MB / 0.527 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3689, allocations: 3.938 kB / 0.527 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.467e-05/0.369, allocations: 18.7 kB / 0.527 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.369, allocations: 0 / 0.527 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.369, allocations: 5.125 kB / 0.527 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.369, allocations: 1.281 kB / 0.527 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.369, allocations: 11.92 kB / 0.5271 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003753/0.3694, allocations: 253.7 kB / 0.5273 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3695, allocations: 114.7 kB / 0.5274 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.3696, allocations: 9.531 kB / 0.5274 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3697, allocations: 9.078 kB / 0.5274 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.3697, allocations: 6.844 kB / 0.5274 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.3697, allocations: 6.672 kB / 0.5274 GB, free: 13.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007161/0.3705, allocations: 0.6513 MB / 0.5281 GB, free: 13.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3705, allocations: 0 / 0.5281 GB, free: 13.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.3708, allocations: 21.22 kB / 0.5281 GB, free: 13.37 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.001452/0.3722, allocations: 1.091 MB / 0.5292 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003136/0.3725, allocations: 99.83 kB / 0.5293 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3726, allocations: 0 / 0.5293 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.3727, allocations: 52.69 kB / 0.5293 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.3731, allocations: 32.62 kB / 0.5293 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.3772, allocations: 3.334 MB / 0.5326 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.3776, allocations: 0.8345 MB / 0.5334 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.399e-05/0.3777, allocations: 17.47 kB / 0.5334 GB, free: 9.523 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.3779, allocations: 116.2 kB / 0.5335 GB, free: 9.414 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3779, allocations: 1.156 kB / 0.5335 GB, free: 9.414 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0245/0.4024, allocations: 6.18 MB / 0.5396 GB, free: 6.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/8.586, allocations: 13.84 kB / 0.5396 GB, free: 6.27 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