Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.00119/0.00119, allocations: 118.8 kB / 17.78 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.001431/0.001431, allocations: 198 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2479/0.2479, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 75.88 kB / 480.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3676, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.002935/0.3706, allocations: 1.622 MB / 0.5321 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008495/0.3714, allocations: 0.5353 MB / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.306e-05/0.3715, allocations: 0 / 0.5326 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005652/0.3721, allocations: 453.2 kB / 0.5331 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004629/0.3726, allocations: 292 kB / 0.5334 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.3729, allocations: 133.8 kB / 0.5335 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.3732, allocations: 166.9 kB / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.531e-05/0.3733, allocations: 5.5 kB / 0.5336 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3734, allocations: 118.8 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.3736, allocations: 210.6 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.3736, allocations: 2.75 kB / 0.534 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.357e-05/0.3737, allocations: 24.48 kB / 0.534 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.856e-05/0.3738, allocations: 82.19 kB / 0.5341 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.917e-05/0.3739, allocations: 97.94 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.3742, allocations: 270.4 kB / 0.5344 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3742, allocations: 0.9688 kB / 0.5344 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3742, allocations: 4 kB / 0.5344 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3742, allocations: 0 / 0.5344 GB, free: 10.79 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.0007536/0.375, allocations: 0.6579 MB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.3751, allocations: 9.312 kB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.418e-05/0.3751, allocations: 31.91 kB / 0.5351 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.952e-05/0.3752, allocations: 42.34 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.3755, allocations: 303.8 kB / 0.5354 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.3755, allocations: 9.453 kB / 0.5354 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.3755, allocations: 2.656 kB / 0.5354 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.3757, allocations: 58.06 kB / 0.5355 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3757, allocations: 0 / 0.5355 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3758, allocations: 1.125 kB / 0.5355 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3758, allocations: 0 / 0.5355 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.3759, allocations: 30.94 kB / 0.5355 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005504/0.3765, allocations: 384.8 kB / 0.5359 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.3766, allocations: 44.5 kB / 0.5359 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.592e-05/0.3767, allocations: 22.06 kB / 0.536 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.3767, allocations: 4.969 kB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3768, allocations: 31.5 kB / 0.536 GB, free: 9.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3768, allocations: 0 / 0.536 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003959/0.3772, allocations: 122.6 kB / 0.5361 GB, free: 9.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.3772, allocations: 51.41 kB / 0.5362 GB, free: 9.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.3782, allocations: 0.8671 MB / 0.537 GB, free: 8.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3783, allocations: 33.62 kB / 0.537 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.3785, allocations: 220.5 kB / 0.5373 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.3785, allocations: 13.02 kB / 0.5373 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-05/0.3786, allocations: 12.94 kB / 0.5373 GB, free: 8.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3787, allocations: 372.2 kB / 0.5376 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.3788, allocations: 12.61 kB / 0.5376 GB, free: 8.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.118e-05/0.3789, allocations: 21.09 kB / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.379, allocations: 35.86 kB / 0.5377 GB, free: 8.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.379, allocations: 1.094 kB / 0.5377 GB, free: 8.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002119/0.3792, allocations: 105.3 kB / 0.5378 GB, free: 8.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3793, allocations: 8.781 kB / 0.5378 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.3793, allocations: 0.8125 kB / 0.5378 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3793, allocations: 1.375 kB / 0.5378 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.3794, allocations: 13.64 kB / 0.5378 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3794, allocations: 1.281 kB / 0.5378 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.764e-05/0.3795, allocations: 10.86 kB / 0.5378 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3795, allocations: 5.203 kB / 0.5378 GB, free: 7.984 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.0002125/0.3797, allocations: 210.4 kB / 0.538 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.3798, allocations: 49.38 kB / 0.5381 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.3801, allocations: 120.5 kB / 0.5382 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3801, allocations: 0 / 0.5382 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3801, allocations: 1.469 kB / 0.5382 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3801, allocations: 0 / 0.5382 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.3804, allocations: 292.4 kB / 0.5385 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3804, allocations: 1.656 kB / 0.5385 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.3805, allocations: 13.86 kB / 0.5385 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3805, allocations: 1.562 kB / 0.5385 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3805, allocations: 4 kB / 0.5385 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3805, allocations: 0 / 0.5385 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3805, allocations: 1.625 kB / 0.5385 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.3807, allocations: 203.4 kB / 0.5387 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.019e-05/0.3808, allocations: 111.3 kB / 0.5388 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.3809, allocations: 5.391 kB / 0.5388 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.381, allocations: 6.844 kB / 0.5388 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.381, allocations: 1.344 kB / 0.5388 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.381, allocations: 1.844 kB / 0.5388 GB, free: 7.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006182/0.3816, allocations: 0.6604 MB / 0.5395 GB, free: 6.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.413e-06/0.3816, allocations: 0 / 0.5395 GB, free: 6.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.3819, allocations: 28.66 kB / 0.5395 GB, free: 6.812 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.00129/0.3832, allocations: 0.9853 MB / 0.5405 GB, free: 6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.3834, allocations: 37.72 kB / 0.5405 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3834, allocations: 0 / 0.5405 GB, free: 5.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.555e-05/0.3835, allocations: 24.27 kB / 0.5405 GB, free: 5.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.3839, allocations: 28.05 kB / 0.5405 GB, free: 5.957 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.3874, allocations: 3.172 MB / 0.5436 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.3878, allocations: 0.8226 MB / 0.5444 GB, free: 3.137 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.748e-05/0.3878, allocations: 13.47 kB / 0.5445 GB, free: 3.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.388, allocations: 110.9 kB / 0.5446 GB, free: 3.027 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.388, allocations: 0 / 0.5446 GB, free: 3.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.4117, allocations: 5.761 MB / 0.5502 GB, free: 13.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.361/8.773, allocations: 7.641 kB / 0.5502 GB, free: 13.35 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches