Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001877/0.001877, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2314/0.2314, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001765, allocations: 75.88 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4261, allocations: 62.43 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.002909/0.429, allocations: 1.618 MB / 0.5321 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.4301, allocations: 0.5321 MB / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.4301, allocations: 0 / 0.5326 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005331/0.4307, allocations: 454.2 kB / 0.5331 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.4311, allocations: 287.9 kB / 0.5333 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.4315, allocations: 135.9 kB / 0.5335 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002182/0.4317, allocations: 165 kB / 0.5336 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.758e-05/0.4318, allocations: 9.688 kB / 0.5336 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.432, allocations: 109.5 kB / 0.5337 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.4322, allocations: 210.6 kB / 0.5339 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.4322, allocations: 2.75 kB / 0.5339 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.4323, allocations: 19.12 kB / 0.534 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.4324, allocations: 80.78 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.421e-05/0.4325, allocations: 102.8 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.4329, allocations: 262.7 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4329, allocations: 0 / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4329, allocations: 0 / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.4329, allocations: 0 / 0.5344 GB, free: 10.84 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.0007391/0.4336, allocations: 0.6461 MB / 0.535 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.4337, allocations: 10.34 kB / 0.535 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.4337, allocations: 42.67 kB / 0.5351 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.187e-05/0.4338, allocations: 47.58 kB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.4341, allocations: 302.9 kB / 0.5354 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4341, allocations: 5.625 kB / 0.5354 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.4341, allocations: 5.531 kB / 0.5354 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.4343, allocations: 47.41 kB / 0.5355 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.4343, allocations: 5.219 kB / 0.5355 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.4343, allocations: 0 / 0.5355 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4343, allocations: 1.125 kB / 0.5355 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.419e-05/0.4344, allocations: 27.84 kB / 0.5355 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.4348, allocations: 376.4 kB / 0.5358 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.038e-05/0.4349, allocations: 30.16 kB / 0.5359 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.435, allocations: 19.17 kB / 0.5359 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.435, allocations: 5.266 kB / 0.5359 GB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.4351, allocations: 30.56 kB / 0.5359 GB, free: 9.352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4351, allocations: 0 / 0.5359 GB, free: 9.352 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002681/0.4353, allocations: 97.91 kB / 0.536 GB, free: 9.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.4354, allocations: 52.44 kB / 0.5361 GB, free: 9.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008848/0.4363, allocations: 0.8804 MB / 0.5369 GB, free: 8.793 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4363, allocations: 26.8 kB / 0.537 GB, free: 8.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.4365, allocations: 225.7 kB / 0.5372 GB, free: 8.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.4365, allocations: 8.922 kB / 0.5372 GB, free: 8.559 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.4365, allocations: 15.84 kB / 0.5372 GB, free: 8.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4367, allocations: 364.6 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.089e-05/0.4367, allocations: 8.031 kB / 0.5375 GB, free: 8.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.4368, allocations: 10.61 kB / 0.5376 GB, free: 8.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.972e-05/0.4368, allocations: 28 kB / 0.5376 GB, free: 8.164 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4369, allocations: 4 kB / 0.5376 GB, free: 8.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001518/0.437, allocations: 93.56 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.437, allocations: 5.281 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4371, allocations: 0 / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4371, allocations: 1 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.06e-05/0.4372, allocations: 8.297 kB / 0.5377 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4372, allocations: 32 / 0.5377 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.4372, allocations: 7.438 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.4372, allocations: 3.938 kB / 0.5377 GB, free: 8.082 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.0001771/0.4374, allocations: 214.1 kB / 0.5379 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.4375, allocations: 41.75 kB / 0.5379 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.4377, allocations: 104.1 kB / 0.538 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4377, allocations: 0 / 0.538 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4377, allocations: 0 / 0.538 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4377, allocations: 9.281 kB / 0.5381 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.4381, allocations: 286.7 kB / 0.5383 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4381, allocations: 1.156 kB / 0.5383 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.763e-05/0.4381, allocations: 8.797 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4381, allocations: 0 / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.4381, allocations: 0 / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4381, allocations: 1.188 kB / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4381, allocations: 0 / 0.5383 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.4383, allocations: 188.3 kB / 0.5385 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.042e-05/0.4384, allocations: 123.1 kB / 0.5386 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.4385, allocations: 5.031 kB / 0.5386 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.365e-05/0.4385, allocations: 1.094 kB / 0.5386 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.4386, allocations: 1.156 kB / 0.5386 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.4386, allocations: 5.016 kB / 0.5386 GB, free: 7.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006703/0.4392, allocations: 0.6596 MB / 0.5393 GB, free: 6.941 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4392, allocations: 0 / 0.5393 GB, free: 6.941 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.4395, allocations: 23.42 kB / 0.5393 GB, free: 6.934 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.001147/0.4407, allocations: 0.9673 MB / 0.5403 GB, free: 6.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.4408, allocations: 21.58 kB / 0.5403 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4408, allocations: 0 / 0.5403 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.4409, allocations: 15.02 kB / 0.5403 GB, free: 6.117 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.4413, allocations: 25.58 kB / 0.5403 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.4449, allocations: 3.168 MB / 0.5434 GB, free: 4.031 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.4454, allocations: 0.8142 MB / 0.5442 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.008e-05/0.4454, allocations: 13.14 kB / 0.5442 GB, free: 3.266 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.4456, allocations: 110.7 kB / 0.5443 GB, free: 3.16 MB / 398.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4456, allocations: 3.938 kB / 0.5443 GB, free: 3.156 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02876/0.4743, allocations: 5.724 MB / 0.5499 GB, free: 13.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.472, allocations: 6.812 kB / 0.5499 GB, free: 13.67 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_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_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches