Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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.001219/0.001219, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001378/0.001378, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2185/0.2185, allocations: 44.19 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 59.91 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4064, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002974/0.4095, allocations: 1.638 MB / 0.5201 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008048/0.4103, allocations: 453.8 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.907e-05/0.4104, allocations: 1.156 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007211/0.4111, allocations: 451 kB / 0.5209 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004392/0.4116, allocations: 256.7 kB / 0.5212 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.412, allocations: 176.4 kB / 0.5213 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002668/0.4123, allocations: 172.4 kB / 0.5215 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.4124, allocations: 17.02 kB / 0.5215 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.4126, allocations: 109.5 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.4129, allocations: 222.9 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.4129, allocations: 3.938 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.413, allocations: 51.28 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.4131, allocations: 83.05 kB / 0.522 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.621e-05/0.4132, allocations: 100.9 kB / 0.5221 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.4136, allocations: 275.8 kB / 0.5223 GB, free: 1.395 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4136, allocations: 1.062 kB / 0.5223 GB, free: 1.395 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.604e-06/0.4136, allocations: 0 / 0.5223 GB, free: 1.395 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4136, allocations: 4 kB / 0.5223 GB, free: 1.391 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006326/0.4142, allocations: 0.6645 MB / 0.523 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.4143, allocations: 9.156 kB / 0.523 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.94e-05/0.4143, allocations: 38.25 kB / 0.523 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.4144, allocations: 43.72 kB / 0.5231 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.4146, allocations: 304 kB / 0.5233 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.4146, allocations: 3.656 kB / 0.5234 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.4147, allocations: 6.781 kB / 0.5234 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.4148, allocations: 69.14 kB / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4148, allocations: 1.281 kB / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.4149, allocations: 0 / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4149, allocations: 1.094 kB / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.415, allocations: 34.09 kB / 0.5235 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.4155, allocations: 412.2 kB / 0.5239 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.4156, allocations: 50.36 kB / 0.5239 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.943e-05/0.4157, allocations: 19.77 kB / 0.5239 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.4157, allocations: 0.5156 kB / 0.5239 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.4158, allocations: 36.47 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4158, allocations: 1.062 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001031/0.4168, allocations: 333.4 kB / 0.5243 GB, free: 15.81 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.4168, allocations: 56.14 kB / 0.5243 GB, free: 15.74 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009403/0.4178, allocations: 0.8661 MB / 0.5252 GB, free: 15.42 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.4178, allocations: 25.7 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000207/0.418, allocations: 231.7 kB / 0.5254 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.4181, allocations: 25.27 kB / 0.5254 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.4181, allocations: 33.75 kB / 0.5255 GB, free: 15.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4183, allocations: 361.7 kB / 0.5258 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.086e-05/0.4184, allocations: 31.69 kB / 0.5258 GB, free: 14.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.4185, allocations: 30.31 kB / 0.5259 GB, free: 14.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.4187, allocations: 73 kB / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.4187, allocations: 0 / 0.5259 GB, free: 14.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002886/0.419, allocations: 157.1 kB / 0.5261 GB, free: 14.69 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.419, allocations: 4.406 kB / 0.5261 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.419, allocations: 0 / 0.5261 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.419, allocations: 2.141 kB / 0.5261 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4192, allocations: 20 kB / 0.5261 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.4192, allocations: 6.688 kB / 0.5261 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.15e-05/0.4192, allocations: 4.375 kB / 0.5261 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.4193, allocations: 2.906 kB / 0.5261 GB, free: 14.68 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 (8): * Single equations (assignments): 8 * 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.0002255/0.4195, allocations: 220.6 kB / 0.5263 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.4196, allocations: 42.56 kB / 0.5264 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.4199, allocations: 178 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.42, allocations: 5.062 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.42, allocations: 0 / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.42, allocations: 1.125 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007278/0.4207, allocations: 0.5144 MB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4207, allocations: 1.219 kB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.542e-05/0.4208, allocations: 22.2 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4208, allocations: 1.25 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4208, allocations: 1.281 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4208, allocations: 1.156 kB / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4208, allocations: 0 / 0.5271 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.4211, allocations: 259.4 kB / 0.5273 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.39e-05/0.4212, allocations: 115.3 kB / 0.5274 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.4213, allocations: 5.375 kB / 0.5275 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.562e-05/0.4214, allocations: 7.484 kB / 0.5275 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.4215, allocations: 3.469 kB / 0.5275 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.4215, allocations: 6.078 kB / 0.5275 GB, free: 13.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008225/0.4223, allocations: 0.658 MB / 0.5281 GB, free: 13.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4223, allocations: 0 / 0.5281 GB, free: 13.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003011/0.4226, allocations: 34.36 kB / 0.5281 GB, free: 13.28 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001664/0.4243, allocations: 1.134 MB / 0.5293 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.4246, allocations: 80.86 kB / 0.5293 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.4246, allocations: 4 kB / 0.5293 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.4247, allocations: 44.44 kB / 0.5294 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.4251, allocations: 26.17 kB / 0.5294 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/0.429, allocations: 3.353 MB / 0.5327 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.4294, allocations: 0.8391 MB / 0.5335 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.865e-05/0.4295, allocations: 22.5 kB / 0.5335 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.4297, allocations: 117.6 kB / 0.5336 GB, free: 9.289 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4297, allocations: 0 / 0.5336 GB, free: 9.289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.4585, allocations: 6.378 MB / 0.5399 GB, free: 5.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.183/8.642, allocations: 8.969 kB / 0.5399 GB, free: 5.934 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_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_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches