Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001578/0.001578, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001983/0.001983, allocations: 197.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.356/1.356, 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.2115/0.2115, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 83.86 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3415, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003118/0.3447, allocations: 1.626 MB / 0.5321 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.346, allocations: 0.5632 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.842e-05/0.3461, allocations: 0 / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007795/0.3469, allocations: 448.7 kB / 0.5331 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005589/0.3475, allocations: 293 kB / 0.5334 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.3481, allocations: 180.2 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.3484, allocations: 168.3 kB / 0.5337 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.3485, allocations: 15.5 kB / 0.5337 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.3487, allocations: 106.5 kB / 0.5338 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004235/0.3492, allocations: 220.4 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.3492, allocations: 2.406 kB / 0.534 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.3493, allocations: 28.02 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.3495, allocations: 87.03 kB / 0.5341 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001548/0.3497, allocations: 99.06 kB / 0.5342 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005212/0.3502, allocations: 268.7 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3502, allocations: 0 / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3502, allocations: 0 / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.3503, allocations: 1.5 kB / 0.5345 GB, free: 10.75 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.001104/0.3514, allocations: 0.6617 MB / 0.5351 GB, free: 10.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.3514, allocations: 9.219 kB / 0.5352 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.3515, allocations: 40.16 kB / 0.5352 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.928e-05/0.3516, allocations: 46.53 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.352, allocations: 304.3 kB / 0.5355 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3521, allocations: 5.656 kB / 0.5355 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.3521, allocations: 2.531 kB / 0.5355 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.3523, allocations: 59.42 kB / 0.5356 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3523, allocations: 0 / 0.5356 GB, free: 9.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3524, allocations: 9.125 kB / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3524, allocations: 0 / 0.5356 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001937/0.3526, allocations: 37.48 kB / 0.5356 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007698/0.3534, allocations: 393.6 kB / 0.536 GB, free: 9.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.3536, allocations: 47 kB / 0.5361 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3537, allocations: 33.64 kB / 0.5361 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3537, allocations: 0 / 0.5361 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3538, allocations: 31.69 kB / 0.5361 GB, free: 9.219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.3538, allocations: 0 / 0.5361 GB, free: 9.219 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005256/0.3543, allocations: 130.8 kB / 0.5362 GB, free: 9.137 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.3544, allocations: 55.41 kB / 0.5363 GB, free: 9.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.3557, allocations: 0.8715 MB / 0.5371 GB, free: 8.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.3558, allocations: 30.67 kB / 0.5372 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.3561, allocations: 216.2 kB / 0.5374 GB, free: 8.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.3561, allocations: 13.14 kB / 0.5374 GB, free: 8.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/0.3562, allocations: 13.94 kB / 0.5374 GB, free: 8.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3564, allocations: 363.7 kB / 0.5378 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.3565, allocations: 18.48 kB / 0.5378 GB, free: 8.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.069e-05/0.3566, allocations: 23 kB / 0.5378 GB, free: 8.031 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.3568, allocations: 42.39 kB / 0.5378 GB, free: 8.008 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3568, allocations: 0 / 0.5378 GB, free: 8.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002639/0.357, allocations: 113.3 kB / 0.5379 GB, free: 7.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.3571, allocations: 5.344 kB / 0.5379 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3571, allocations: 0 / 0.5379 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3571, allocations: 0.9375 kB / 0.5379 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.479e-05/0.3572, allocations: 19.11 kB / 0.538 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3572, allocations: 0 / 0.538 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.336e-05/0.3573, allocations: 4.125 kB / 0.538 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3573, allocations: 1.125 kB / 0.538 GB, free: 7.922 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 (3): * Single equations (assignments): 3 * 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.0001899/0.3575, allocations: 226.1 kB / 0.5382 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.3576, allocations: 41.91 kB / 0.5382 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.3578, allocations: 131.3 kB / 0.5384 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.3579, allocations: 5.094 kB / 0.5384 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.3579, allocations: 4 kB / 0.5384 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3579, allocations: 1.156 kB / 0.5384 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.3582, allocations: 294.8 kB / 0.5386 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3582, allocations: 0 / 0.5386 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.67e-05/0.3583, allocations: 10.59 kB / 0.5387 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3583, allocations: 1.125 kB / 0.5387 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.3583, allocations: 5.078 kB / 0.5387 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3583, allocations: 0 / 0.5387 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3583, allocations: 4 kB / 0.5387 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.3586, allocations: 212.3 kB / 0.5389 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.3587, allocations: 114.5 kB / 0.539 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.3587, allocations: 0.9375 kB / 0.539 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-05/0.3588, allocations: 7.328 kB / 0.539 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.3588, allocations: 1.094 kB / 0.539 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.3588, allocations: 5.219 kB / 0.539 GB, free: 7.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006762/0.3595, allocations: 0.6584 MB / 0.5396 GB, free: 6.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3595, allocations: 0 / 0.5396 GB, free: 6.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.3598, allocations: 21.38 kB / 0.5397 GB, free: 6.73 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 (3): * Single equations (assignments): 3 * 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.001289/0.3611, allocations: 0.9948 MB / 0.5406 GB, free: 5.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.3613, allocations: 41.16 kB / 0.5407 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.3613, allocations: 1.094 kB / 0.5407 GB, free: 5.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.292e-05/0.3614, allocations: 29.22 kB / 0.5407 GB, free: 5.879 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.3618, allocations: 25.12 kB / 0.5407 GB, free: 5.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/0.3655, allocations: 3.214 MB / 0.5439 GB, free: 3.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.3659, allocations: 0.8263 MB / 0.5447 GB, free: 2.961 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.532e-05/0.366, allocations: 23.72 kB / 0.5447 GB, free: 2.938 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.3661, allocations: 111.4 kB / 0.5448 GB, free: 2.832 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3661, allocations: 0 / 0.5448 GB, free: 2.832 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.3906, allocations: 5.809 MB / 0.5505 GB, free: 13.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.317/8.707, allocations: 3.391 kB / 0.5505 GB, free: 13.09 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_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_CombiTable2Dv_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches