Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001593/0.001593, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001562/0.001562, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 79.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4304, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.003016/0.4334, allocations: 1.613 MB / 0.5321 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009654/0.4344, allocations: 0.531 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.4345, allocations: 0 / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005194/0.435, allocations: 460.7 kB / 0.5331 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.4355, allocations: 289.1 kB / 0.5333 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.4358, allocations: 128.6 kB / 0.5335 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.436, allocations: 168.1 kB / 0.5336 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.4361, allocations: 14.2 kB / 0.5336 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.4363, allocations: 105.4 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.4365, allocations: 205.6 kB / 0.5339 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.4365, allocations: 6.938 kB / 0.5339 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.337e-05/0.4366, allocations: 31.64 kB / 0.534 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.4367, allocations: 77.42 kB / 0.534 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.231e-05/0.4368, allocations: 102.5 kB / 0.5341 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.4371, allocations: 258.4 kB / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4372, allocations: 0 / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.4372, allocations: 0 / 0.5344 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.4372, allocations: 0 / 0.5344 GB, free: 10.82 MB / 398.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.0007029/0.4379, allocations: 0.6509 MB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.4379, allocations: 13.38 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.886e-05/0.438, allocations: 34.75 kB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.508e-05/0.438, allocations: 47.11 kB / 0.5351 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.4383, allocations: 307.5 kB / 0.5354 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-06/0.4383, allocations: 1.438 kB / 0.5354 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.4383, allocations: 5.25 kB / 0.5354 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.4385, allocations: 51.83 kB / 0.5355 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.4385, allocations: 0 / 0.5355 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.4385, allocations: 5.016 kB / 0.5355 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.4385, allocations: 1.062 kB / 0.5355 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.952e-05/0.4386, allocations: 23.98 kB / 0.5355 GB, free: 9.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.4391, allocations: 379.2 kB / 0.5358 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.555e-05/0.4392, allocations: 23.3 kB / 0.5359 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.442e-05/0.4392, allocations: 18.84 kB / 0.5359 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.4392, allocations: 1.062 kB / 0.5359 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.4393, allocations: 35.59 kB / 0.5359 GB, free: 9.332 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4393, allocations: 0 / 0.5359 GB, free: 9.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.000257/0.4395, allocations: 101.4 kB / 0.536 GB, free: 9.262 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.4396, allocations: 56.53 kB / 0.5361 GB, free: 9.195 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000882/0.4405, allocations: 0.8687 MB / 0.5369 GB, free: 8.777 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.4405, allocations: 27.14 kB / 0.5369 GB, free: 8.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.4407, allocations: 229 kB / 0.5372 GB, free: 8.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.4407, allocations: 13.36 kB / 0.5372 GB, free: 8.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.4407, allocations: 16.56 kB / 0.5372 GB, free: 8.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4409, allocations: 359.7 kB / 0.5375 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.355e-05/0.4409, allocations: 13.36 kB / 0.5376 GB, free: 8.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.92e-05/0.441, allocations: 4.625 kB / 0.5376 GB, free: 8.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.124e-05/0.4411, allocations: 24.81 kB / 0.5376 GB, free: 8.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4411, allocations: 0 / 0.5376 GB, free: 8.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001442/0.4412, allocations: 101.3 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4412, allocations: 5.656 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.4412, allocations: 0 / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4413, allocations: 1.188 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.4413, allocations: 8.406 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.4413, allocations: 0 / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.13e-05/0.4414, allocations: 2.281 kB / 0.5377 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.4414, allocations: 13.05 kB / 0.5377 GB, free: 8.059 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 (2): * Single equations (assignments): 2 * 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.0001949/0.4416, allocations: 208.7 kB / 0.5379 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.4417, allocations: 46.91 kB / 0.538 GB, free: 7.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.4419, allocations: 103.5 kB / 0.538 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4419, allocations: 0 / 0.538 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4419, allocations: 5.391 kB / 0.5381 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4419, allocations: 0 / 0.5381 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.4422, allocations: 287.4 kB / 0.5383 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4423, allocations: 4 kB / 0.5383 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.4423, allocations: 9.031 kB / 0.5383 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4423, allocations: 0 / 0.5383 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.4423, allocations: 1.219 kB / 0.5383 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4423, allocations: 0 / 0.5383 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4423, allocations: 1.281 kB / 0.5383 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.4425, allocations: 188.2 kB / 0.5385 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.4426, allocations: 117.6 kB / 0.5386 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.4426, allocations: 9.047 kB / 0.5386 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.4428, allocations: 2.281 kB / 0.5386 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.4428, allocations: 0.9688 kB / 0.5386 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.4428, allocations: 1.094 kB / 0.5386 GB, free: 7.242 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006537/0.4435, allocations: 0.6665 MB / 0.5393 GB, free: 6.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4435, allocations: 1.344 kB / 0.5393 GB, free: 6.914 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.4437, allocations: 14.38 kB / 0.5393 GB, free: 6.914 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 (2): * Single equations (assignments): 2 * 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.001148/0.4449, allocations: 0.9676 MB / 0.5403 GB, free: 6.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.445, allocations: 24.45 kB / 0.5403 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4451, allocations: 1.438 kB / 0.5403 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.942e-05/0.4451, allocations: 14.36 kB / 0.5403 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.4455, allocations: 25.27 kB / 0.5403 GB, free: 6.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.4491, allocations: 3.157 MB / 0.5434 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.4495, allocations: 0.8181 MB / 0.5442 GB, free: 3.258 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.438e-05/0.4496, allocations: 12.06 kB / 0.5442 GB, free: 3.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.4497, allocations: 116.4 kB / 0.5443 GB, free: 3.141 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4497, allocations: 0 / 0.5443 GB, free: 3.141 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02532/0.4751, allocations: 5.737 MB / 0.5499 GB, free: 13.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.028/8.503, allocations: 3.703 kB / 0.5499 GB, free: 13.63 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches