Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001118, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001305, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 75.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3928, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.003196/0.396, allocations: 1.683 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009756/0.397, allocations: 0.5539 MB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.3971, allocations: 0.875 kB / 0.5327 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.3974, allocations: 51.45 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.3977, allocations: 101.7 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003503/0.3981, allocations: 142.3 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.3982, allocations: 79.92 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3984, allocations: 22.25 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.818e-05/0.3984, allocations: 38.23 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.3985, allocations: 50.11 kB / 0.5332 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3986, allocations: 8.125 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3987, allocations: 52.14 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.144e-05/0.3988, allocations: 20.36 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.3988, allocations: 41.81 kB / 0.5333 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.3991, allocations: 119 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3991, allocations: 0 / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3991, allocations: 0 / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3991, allocations: 2 kB / 0.5334 GB, free: 11.23 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005926/0.3997, allocations: 427.3 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.3998, allocations: 12.62 kB / 0.5338 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.422e-05/0.3998, allocations: 33.06 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.584e-05/0.3999, allocations: 18.06 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.4001, allocations: 198.9 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4001, allocations: 5.969 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.4001, allocations: 3.219 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.4003, allocations: 67.69 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.4003, allocations: 5.516 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4003, allocations: 0 / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4003, allocations: 5.656 kB / 0.5342 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.4005, allocations: 41.88 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.4009, allocations: 306.9 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.4012, allocations: 63.33 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.436e-05/0.4013, allocations: 27.97 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.4013, allocations: 1.375 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.4013, allocations: 31.94 kB / 0.5346 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.4013, allocations: 0 / 0.5346 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001376/0.4027, allocations: 410 kB / 0.535 GB, free: 9.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.4028, allocations: 52.78 kB / 0.5351 GB, free: 9.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.403, allocations: 194.5 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.403, allocations: 31.02 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.403, allocations: 109.6 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.4031, allocations: 35.81 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.4031, allocations: 21.97 kB / 0.5354 GB, free: 9.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.4033, allocations: 325.6 kB / 0.5357 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.4034, allocations: 47.33 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.4035, allocations: 44.88 kB / 0.5358 GB, free: 9.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.4037, allocations: 95.53 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.4037, allocations: 1.094 kB / 0.5359 GB, free: 8.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002994/0.404, allocations: 149.9 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.4041, allocations: 4.75 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.4041, allocations: 5.25 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4041, allocations: 3.938 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.4042, allocations: 28.36 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4042, allocations: 1.156 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.377e-05/0.4043, allocations: 10.64 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.4043, allocations: 6.25 kB / 0.5361 GB, free: 8.871 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 (11): * Single equations (assignments): 11 * 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 9.861e-05/0.4044, allocations: 126.9 kB / 0.5362 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.4045, allocations: 13.56 kB / 0.5363 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003699/0.4048, allocations: 171.5 kB / 0.5364 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4048, allocations: 5 kB / 0.5364 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.4049, allocations: 5.031 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.4049, allocations: 0 / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006464/0.4055, allocations: 476 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4055, allocations: 1.281 kB / 0.5369 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.4057, allocations: 28.88 kB / 0.5369 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4057, allocations: 5.094 kB / 0.5369 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.4057, allocations: 2.75 kB / 0.5369 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4057, allocations: 192 / 0.5369 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.4057, allocations: 5.312 kB / 0.5369 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.4061, allocations: 264.3 kB / 0.5372 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.4062, allocations: 88.23 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.4062, allocations: 2.312 kB / 0.5373 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.4064, allocations: 14.08 kB / 0.5373 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.687e-05/0.4064, allocations: 9.141 kB / 0.5373 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.4064, allocations: 3.469 kB / 0.5373 GB, free: 7.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.4066, allocations: 150.1 kB / 0.5374 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4066, allocations: 1.125 kB / 0.5374 GB, free: 7.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.4069, allocations: 29.94 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001741/0.4086, allocations: 1.133 MB / 0.5386 GB, free: 6.844 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.409, allocations: 114.4 kB / 0.5387 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.409, allocations: 0 / 0.5387 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.4092, allocations: 58.69 kB / 0.5387 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/0.4096, allocations: 22.78 kB / 0.5388 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002167/0.4118, allocations: 1.815 MB / 0.5405 GB, free: 5.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.4121, allocations: 0.7167 MB / 0.5412 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.367e-05/0.4122, allocations: 18 kB / 0.5412 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.09e-05/0.4123, allocations: 35.98 kB / 0.5413 GB, free: 4.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4123, allocations: 3.938 kB / 0.5413 GB, free: 4.477 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.4335, allocations: 3.365 MB / 0.5446 GB, free: 2.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.703/8.136, allocations: 10.41 kB / 0.5446 GB, free: 2.648 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches