Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001502/0.001502, 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.002036/0.002036, allocations: 201.2 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.444/1.444, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2332/0.2332, allocations: 46.11 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 75.88 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3521, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003117/0.3553, allocations: 1.941 MB / 0.5324 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.3571, allocations: 1.093 MB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.3572, allocations: 1.812 kB / 0.5335 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004695/0.3577, allocations: 262 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.3582, allocations: 261.9 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.3596, allocations: 0.6337 MB / 0.5346 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004538/0.3601, allocations: 323.4 kB / 0.5349 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.3603, allocations: 53.48 kB / 0.535 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.3604, allocations: 132 kB / 0.5351 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.3607, allocations: 199.6 kB / 0.5353 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.3608, allocations: 8.562 kB / 0.5353 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3609, allocations: 61.77 kB / 0.5354 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3611, allocations: 92.38 kB / 0.5354 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.3612, allocations: 119.3 kB / 0.5356 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003951/0.3616, allocations: 319.6 kB / 0.5359 GB, free: 9.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3616, allocations: 0 / 0.5359 GB, free: 9.562 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3616, allocations: 0 / 0.5359 GB, free: 9.562 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.3616, allocations: 0 / 0.5359 GB, free: 9.562 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009134/0.3625, allocations: 0.6746 MB / 0.5365 GB, free: 8.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3626, allocations: 9.469 kB / 0.5365 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.3626, allocations: 41.02 kB / 0.5366 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.3627, allocations: 47.52 kB / 0.5366 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.3631, allocations: 339.3 kB / 0.5369 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3631, allocations: 7.875 kB / 0.5369 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3631, allocations: 4.281 kB / 0.5369 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.3634, allocations: 102.4 kB / 0.537 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3634, allocations: 4 kB / 0.537 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3634, allocations: 5.125 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.3634, allocations: 0.9688 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.3636, allocations: 66.3 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006782/0.3643, allocations: 480.2 kB / 0.5376 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.3645, allocations: 74.06 kB / 0.5376 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.821e-05/0.3645, allocations: 37.44 kB / 0.5377 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.3646, allocations: 6.047 kB / 0.5377 GB, free: 7.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.3646, allocations: 30.56 kB / 0.5377 GB, free: 7.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3646, allocations: 1.375 kB / 0.5377 GB, free: 7.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004385/0.3651, allocations: 168 kB / 0.5379 GB, free: 7.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.3651, allocations: 60.42 kB / 0.5379 GB, free: 7.711 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.3658, allocations: 0.5987 MB / 0.5385 GB, free: 7.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3659, allocations: 29.7 kB / 0.5385 GB, free: 7.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.366, allocations: 206.6 kB / 0.5387 GB, free: 7.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.3661, allocations: 26.56 kB / 0.5388 GB, free: 7.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.3661, allocations: 20.16 kB / 0.5388 GB, free: 7.137 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3663, allocations: 351.2 kB / 0.5391 GB, free: 6.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.477e-05/0.3664, allocations: 29.91 kB / 0.5392 GB, free: 6.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.124e-05/0.3664, allocations: 22.67 kB / 0.5392 GB, free: 6.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.3666, allocations: 73.02 kB / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3666, allocations: 0.8125 kB / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002464/0.3669, allocations: 130.7 kB / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3669, allocations: 5.656 kB / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3669, allocations: 0 / 0.5394 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3669, allocations: 5.094 kB / 0.5394 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.931e-05/0.367, allocations: 13.36 kB / 0.5394 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.367, allocations: 1.188 kB / 0.5394 GB, free: 6.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-05/0.3671, allocations: 7.453 kB / 0.5394 GB, free: 6.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3671, allocations: 10.16 kB / 0.5394 GB, free: 6.629 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.0001789/0.3673, allocations: 172 kB / 0.5396 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.306e-05/0.3674, allocations: 41.72 kB / 0.5396 GB, free: 6.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.3677, allocations: 163.1 kB / 0.5398 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3678, allocations: 4.969 kB / 0.5398 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3678, allocations: 0 / 0.5398 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3678, allocations: 1.312 kB / 0.5398 GB, free: 6.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.3681, allocations: 302.4 kB / 0.5401 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3681, allocations: 5.062 kB / 0.5401 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.436e-05/0.3682, allocations: 17.83 kB / 0.5401 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3682, allocations: 0 / 0.5401 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3682, allocations: 5.219 kB / 0.5401 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3682, allocations: 5 kB / 0.5401 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3682, allocations: 0 / 0.5401 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002887/0.3685, allocations: 231.1 kB / 0.5403 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3687, allocations: 122.8 kB / 0.5404 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.3687, allocations: 1.031 kB / 0.5404 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.3688, allocations: 7.25 kB / 0.5404 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.3688, allocations: 10.14 kB / 0.5405 GB, free: 5.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.3689, allocations: 2.75 kB / 0.5405 GB, free: 5.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005218/0.3694, allocations: 446.4 kB / 0.5409 GB, free: 5.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3694, allocations: 1.125 kB / 0.5409 GB, free: 5.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003019/0.3697, allocations: 38.77 kB / 0.5409 GB, free: 5.484 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.002004/0.3717, allocations: 1.26 MB / 0.5421 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.3719, allocations: 56.41 kB / 0.5422 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.372, allocations: 5.094 kB / 0.5422 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.197e-05/0.372, allocations: 43.62 kB / 0.5422 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.3727, allocations: 76.94 kB / 0.5423 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004196/0.3769, allocations: 2.974 MB / 0.5452 GB, free: 2.445 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.3774, allocations: 0.813 MB / 0.546 GB, free: 1.684 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001636/0.3776, allocations: 53.88 kB / 0.5461 GB, free: 1.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.3778, allocations: 119.4 kB / 0.5462 GB, free: 1.516 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3778, allocations: 0 / 0.5462 GB, free: 1.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.4026, allocations: 6.964 MB / 0.553 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.55, allocations: 21.56 kB / 0.553 GB, free: 10.61 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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_trunk_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches