Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001612/0.001612, 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.001962/0.001962, 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.378/1.378, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2222/0.2222, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 75.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3623, allocations: 62.44 MB / 0.5305 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002834/0.3652, allocations: 1.683 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.3662, allocations: 0.5832 MB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.3663, allocations: 1.938 kB / 0.5328 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.3665, allocations: 55.42 kB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.3668, allocations: 104.9 kB / 0.5329 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.3672, allocations: 178 kB / 0.5331 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3674, allocations: 91.03 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3675, allocations: 22.94 kB / 0.5332 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.535e-05/0.3676, allocations: 35.94 kB / 0.5332 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.329e-05/0.3677, allocations: 52.75 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3677, allocations: 4 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.285e-05/0.3678, allocations: 44.73 kB / 0.5333 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.3679, allocations: 30.02 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.657e-05/0.3679, allocations: 42.55 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.3681, allocations: 125.8 kB / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3681, allocations: 0 / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3681, allocations: 0 / 0.5335 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3681, allocations: 0 / 0.5335 GB, free: 11.2 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.0004983/0.3686, allocations: 430.3 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3687, allocations: 9.625 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.3687, allocations: 40.11 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.3688, allocations: 14.39 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.369, allocations: 217.1 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-06/0.369, allocations: 1.75 kB / 0.5342 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.369, allocations: 7.125 kB / 0.5342 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.3692, allocations: 74.16 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3692, allocations: 0 / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.3692, allocations: 0 / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3692, allocations: 1.375 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3694, allocations: 48.7 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.3698, allocations: 325.9 kB / 0.5346 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.37, allocations: 56.67 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.665e-05/0.3701, allocations: 26.72 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3702, allocations: 5.375 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.3702, allocations: 42.58 kB / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3702, allocations: 0 / 0.5348 GB, free: 9.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001385/0.3716, allocations: 430.7 kB / 0.5352 GB, free: 9.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.3716, allocations: 57.03 kB / 0.5352 GB, free: 9.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.3718, allocations: 199 kB / 0.5354 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3718, allocations: 30.83 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.3719, allocations: 105.9 kB / 0.5355 GB, free: 9.387 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.3719, allocations: 36.16 kB / 0.5356 GB, free: 9.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.372, allocations: 29.52 kB / 0.5356 GB, free: 9.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3721, allocations: 323.1 kB / 0.5359 GB, free: 9.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3722, allocations: 60.86 kB / 0.536 GB, free: 8.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.3724, allocations: 48.38 kB / 0.536 GB, free: 8.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.3726, allocations: 128.3 kB / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3726, allocations: 0 / 0.5361 GB, free: 8.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003261/0.373, allocations: 173.1 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.373, allocations: 5.719 kB / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.373, allocations: 0 / 0.5363 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.373, allocations: 4.969 kB / 0.5363 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3732, allocations: 28.25 kB / 0.5363 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3732, allocations: 0.875 kB / 0.5363 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.3732, allocations: 10.36 kB / 0.5363 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3733, allocations: 2.75 kB / 0.5363 GB, free: 8.773 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.743e-05/0.3734, allocations: 145.4 kB / 0.5365 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.3734, allocations: 13.22 kB / 0.5365 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.3738, allocations: 191.7 kB / 0.5367 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3738, allocations: 5.25 kB / 0.5367 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3738, allocations: 0 / 0.5367 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3739, allocations: 5.047 kB / 0.5367 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000655/0.3745, allocations: 0.4951 MB / 0.5372 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3745, allocations: 3.984 kB / 0.5372 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3746, allocations: 32.59 kB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3746, allocations: 2.125 kB / 0.5372 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3747, allocations: 6.375 kB / 0.5372 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3747, allocations: 9.156 kB / 0.5372 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.3747, allocations: 1.094 kB / 0.5372 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.3751, allocations: 277.8 kB / 0.5375 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.3751, allocations: 96.91 kB / 0.5376 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.3751, allocations: 5.25 kB / 0.5376 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.67e-05/0.3752, allocations: 6.75 kB / 0.5376 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.311e-05/0.3753, allocations: 13.05 kB / 0.5376 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3753, allocations: 6.781 kB / 0.5376 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3754, allocations: 154 kB / 0.5378 GB, free: 7.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3754, allocations: 0 / 0.5378 GB, free: 7.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3757, allocations: 27.05 kB / 0.5378 GB, free: 7.566 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.001513/0.3772, allocations: 1.163 MB / 0.5389 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.3776, allocations: 128.3 kB / 0.539 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3776, allocations: 4 kB / 0.5391 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.3778, allocations: 72.11 kB / 0.5391 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3781, allocations: 15.59 kB / 0.5391 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.3804, allocations: 1.93 MB / 0.541 GB, free: 4.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.3807, allocations: 0.7164 MB / 0.5417 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.656e-05/0.3808, allocations: 39.55 kB / 0.5418 GB, free: 4.254 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.101e-05/0.3809, allocations: 44.05 kB / 0.5418 GB, free: 4.219 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3809, allocations: 0 / 0.5418 GB, free: 4.219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.4014, allocations: 3.538 MB / 0.5453 GB, free: 2.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.599/8, allocations: 6 kB / 0.5453 GB, free: 2.309 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_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_CombiTable2Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches