Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19",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.001134/0.001134, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001105/0.001105, allocations: 183 kB / 18.72 MB, free: 4.332 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.47/1.47, allocations: 222.9 MB / 242.4 MB, free: 15.03 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.2234/0.2234, allocations: 44.18 MB / 336.8 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 63.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4035, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test19): time 0.005215/0.4088, allocations: 1.85 MB / 0.5202 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.4113, allocations: 0.829 MB / 0.521 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.4116, allocations: 5.031 kB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007196/0.4123, allocations: 246 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006651/0.413, allocations: 188.3 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.4151, allocations: 483.5 kB / 0.5219 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007738/0.4159, allocations: 249.5 kB / 0.5222 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.4161, allocations: 42.66 kB / 0.5222 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.4165, allocations: 123.4 kB / 0.5223 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004455/0.417, allocations: 179.4 kB / 0.5225 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.105e-05/0.4171, allocations: 7.5 kB / 0.5225 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00021/0.4173, allocations: 58.75 kB / 0.5226 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.4175, allocations: 72.34 kB / 0.5226 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.4177, allocations: 105.9 kB / 0.5227 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006442/0.4183, allocations: 278.5 kB / 0.523 GB, free: 0.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4183, allocations: 0.6094 kB / 0.523 GB, free: 0.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4184, allocations: 1.531 kB / 0.523 GB, free: 0.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.4184, allocations: 4 kB / 0.523 GB, free: 0.6211 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001097/0.4195, allocations: 0.6321 MB / 0.5236 GB, free: 68 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.4196, allocations: 11.05 kB / 0.5236 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.253e-05/0.4196, allocations: 38.17 kB / 0.5237 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.4197, allocations: 37.56 kB / 0.5237 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006258/0.4204, allocations: 312.7 kB / 0.524 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.4204, allocations: 6.656 kB / 0.524 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.4205, allocations: 4.375 kB / 0.524 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.4208, allocations: 87.53 kB / 0.5241 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.4208, allocations: 3.938 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.4209, allocations: 2.094 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4209, allocations: 1.469 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.4212, allocations: 52.05 kB / 0.5241 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.4223, allocations: 445.6 kB / 0.5246 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.4225, allocations: 54.52 kB / 0.5246 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.4227, allocations: 32.55 kB / 0.5247 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.4227, allocations: 3.109 kB / 0.5247 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.4228, allocations: 36.5 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.164e-06/0.4228, allocations: 0 / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006159/0.4234, allocations: 127.1 kB / 0.5248 GB, free: 15.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.4235, allocations: 57.97 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.4246, allocations: 0.5473 MB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.4247, allocations: 25.7 kB / 0.5254 GB, free: 14.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.4249, allocations: 196.8 kB / 0.5256 GB, free: 14.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.425, allocations: 20.62 kB / 0.5256 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.77e-05/0.4251, allocations: 20.53 kB / 0.5257 GB, free: 14.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.4253, allocations: 344.7 kB / 0.526 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.4255, allocations: 21 kB / 0.526 GB, free: 14.28 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.995e-05/0.4256, allocations: 18.28 kB / 0.526 GB, free: 14.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.4258, allocations: 52.81 kB / 0.5261 GB, free: 14.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4258, allocations: 0 / 0.5261 GB, free: 14.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003791/0.4262, allocations: 112.9 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.4263, allocations: 7.25 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4263, allocations: 1.375 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/0.4263, allocations: 3.938 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.4265, allocations: 12.48 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.4265, allocations: 1.375 kB / 0.5262 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.4267, allocations: 13.14 kB / 0.5262 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.4267, allocations: 1.812 kB / 0.5262 GB, free: 14.17 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 (6): * Single equations (assignments): 6 * 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.0002529/0.427, allocations: 169.9 kB / 0.5264 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.4271, allocations: 40.73 kB / 0.5264 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000433/0.4275, allocations: 131.2 kB / 0.5265 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.4276, allocations: 5.312 kB / 0.5266 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.208e-05/0.4276, allocations: 0 / 0.5266 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4276, allocations: 4.641 kB / 0.5266 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005249/0.4281, allocations: 285.1 kB / 0.5268 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4282, allocations: 0 / 0.5268 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.4283, allocations: 11.64 kB / 0.5268 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.4283, allocations: 1.984 kB / 0.5268 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4283, allocations: 1.375 kB / 0.5268 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.4283, allocations: 4.594 kB / 0.5268 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4283, allocations: 0 / 0.5268 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.4288, allocations: 208.8 kB / 0.527 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.429, allocations: 127.2 kB / 0.5272 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.805e-05/0.4291, allocations: 1.969 kB / 0.5272 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.4293, allocations: 7.422 kB / 0.5272 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.4293, allocations: 4.578 kB / 0.5272 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.4294, allocations: 6.594 kB / 0.5272 GB, free: 13.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008478/0.4302, allocations: 413.7 kB / 0.5276 GB, free: 13.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.4302, allocations: 0 / 0.5276 GB, free: 13.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004986/0.4308, allocations: 35.33 kB / 0.5276 GB, free: 13.2 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 (6): * Single equations (assignments): 6 * 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.003001/0.4338, allocations: 1.23 MB / 0.5288 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.4341, allocations: 49.47 kB / 0.5289 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4341, allocations: 0 / 0.5289 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.4343, allocations: 32.64 kB / 0.5289 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000986/0.4353, allocations: 86.8 kB / 0.529 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006697/0.442, allocations: 2.72 MB / 0.5316 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/0.4428, allocations: 0.7894 MB / 0.5324 GB, free: 9.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.443, allocations: 36.7 kB / 0.5324 GB, free: 9.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.4433, allocations: 96.58 kB / 0.5325 GB, free: 9.488 MB / 398.1 MB Notification: Performance of SimCode: time 1.343e-06/0.4433, allocations: 0 / 0.5325 GB, free: 9.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03809/0.4814, allocations: 6.436 MB / 0.5388 GB, free: 6.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.017/8.499, allocations: 17.92 kB / 0.5388 GB, free: 6.125 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches