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.001328/0.001328, 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.0015/0.0015, allocations: 198 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.429/1.429, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2261/0.2261, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 75.88 kB / 480.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3606, 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.003541/0.3642, allocations: 1.683 MB / 0.5322 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3654, allocations: 0.5486 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.478e-05/0.3655, allocations: 1.375 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.3658, allocations: 59 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003605/0.3662, allocations: 99.09 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.3667, allocations: 141.4 kB / 0.533 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.3669, allocations: 84.53 kB / 0.5331 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.367, allocations: 17.58 kB / 0.5331 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.313e-05/0.3671, allocations: 38.3 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.3672, allocations: 53.75 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3673, allocations: 3.281 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.3674, allocations: 53.64 kB / 0.5333 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.908e-05/0.3675, allocations: 20.8 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.3676, allocations: 37.3 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.3678, allocations: 126.8 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.3678, allocations: 0 / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3678, allocations: 0 / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3678, allocations: 1.156 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.0006442/0.3685, allocations: 419.7 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.3685, allocations: 9.062 kB / 0.5338 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.743e-05/0.3686, allocations: 40.62 kB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.319e-05/0.3686, allocations: 19.39 kB / 0.5339 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.3689, allocations: 197.7 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3689, allocations: 6.219 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.3689, allocations: 8.094 kB / 0.5341 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.3691, allocations: 66.94 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3691, allocations: 0 / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3691, allocations: 1.906 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3691, allocations: 0 / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.3693, allocations: 47.67 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.3697, allocations: 310.2 kB / 0.5345 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.37, allocations: 54.7 kB / 0.5346 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.19e-05/0.3701, allocations: 29.59 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.3701, allocations: 4 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.3702, allocations: 36.06 kB / 0.5346 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3702, allocations: 0 / 0.5346 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001457/0.3716, allocations: 405.6 kB / 0.535 GB, free: 9.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.3717, allocations: 56.78 kB / 0.5351 GB, free: 9.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.3719, allocations: 195.8 kB / 0.5353 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.3719, allocations: 25.7 kB / 0.5353 GB, free: 9.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.372, allocations: 109.6 kB / 0.5354 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.372, allocations: 35.81 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-05/0.3721, allocations: 21.97 kB / 0.5354 GB, free: 9.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3722, allocations: 327 kB / 0.5357 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.3723, allocations: 43.34 kB / 0.5358 GB, free: 9.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3725, allocations: 43.75 kB / 0.5358 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.3728, allocations: 104 kB / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3728, allocations: 0 / 0.5359 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003579/0.3731, allocations: 146.1 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3732, allocations: 6.125 kB / 0.5361 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3732, allocations: 3.938 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3732, allocations: 5.125 kB / 0.5361 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.3733, allocations: 28.66 kB / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3733, allocations: 0 / 0.5361 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.094e-05/0.3734, allocations: 10.39 kB / 0.5361 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.3734, allocations: 2.781 kB / 0.5361 GB, free: 8.875 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 0.0001177/0.3736, allocations: 130.9 kB / 0.5362 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.3736, allocations: 17.58 kB / 0.5363 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.374, allocations: 162.8 kB / 0.5364 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.374, allocations: 4.969 kB / 0.5364 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.374, allocations: 1.719 kB / 0.5364 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3741, allocations: 4 kB / 0.5364 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.3747, allocations: 472.8 kB / 0.5369 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3747, allocations: 1.125 kB / 0.5369 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.3748, allocations: 36.45 kB / 0.5369 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3749, allocations: 1.312 kB / 0.5369 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3749, allocations: 5.219 kB / 0.5369 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3749, allocations: 2.062 kB / 0.5369 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3749, allocations: 4.922 kB / 0.5369 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.3753, allocations: 256 kB / 0.5372 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.3753, allocations: 93.25 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.3753, allocations: 1.094 kB / 0.5373 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3755, allocations: 14.86 kB / 0.5373 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.3755, allocations: 12.02 kB / 0.5373 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.3755, allocations: 3.375 kB / 0.5373 GB, free: 7.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.3757, allocations: 150.9 kB / 0.5374 GB, free: 7.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3757, allocations: 0.875 kB / 0.5374 GB, free: 7.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002739/0.3759, allocations: 29.25 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.001585/0.3775, allocations: 1.136 MB / 0.5386 GB, free: 6.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.3779, allocations: 114.9 kB / 0.5387 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3779, allocations: 0 / 0.5387 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.378, allocations: 54.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.0003697/0.3784, allocations: 23.67 kB / 0.5388 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.3808, allocations: 1.82 MB / 0.5405 GB, free: 5.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.3811, allocations: 0.716 MB / 0.5412 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.642e-05/0.3812, allocations: 9.75 kB / 0.5412 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.335e-05/0.3813, allocations: 36.55 kB / 0.5413 GB, free: 4.48 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3813, allocations: 0 / 0.5413 GB, free: 4.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.4014, allocations: 3.377 MB / 0.5446 GB, free: 2.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/8.141, allocations: 13.44 kB / 0.5446 GB, free: 2.637 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