Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001161/0.001162, allocations: 118.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 205.2 kB / 18.74 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.457/1.457, 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.2351/0.2351, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 80.14 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3724, allocations: 62.44 MB / 0.5305 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.003226/0.3757, allocations: 1.679 MB / 0.5322 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3767, allocations: 0.5838 MB / 0.5328 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.3768, allocations: 1.719 kB / 0.5328 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.3771, allocations: 54.58 kB / 0.5328 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.3773, allocations: 93.91 kB / 0.5329 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.3778, allocations: 177.6 kB / 0.5331 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.378, allocations: 93.84 kB / 0.5332 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3781, allocations: 23.09 kB / 0.5332 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.858e-05/0.3782, allocations: 42.39 kB / 0.5332 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.855e-05/0.3783, allocations: 43.03 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.3783, allocations: 4.125 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.3784, allocations: 52.97 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.3785, allocations: 21.55 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.3785, allocations: 34.56 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.3787, allocations: 124.5 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3787, allocations: 4 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3787, allocations: 0 / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3787, allocations: 0 / 0.5335 GB, free: 11.09 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.0005217/0.3793, allocations: 429 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3793, allocations: 9.625 kB / 0.5339 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.3794, allocations: 40.11 kB / 0.5339 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.3794, allocations: 14.34 kB / 0.534 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.3796, allocations: 213.2 kB / 0.5342 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3796, allocations: 7.125 kB / 0.5342 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.3796, allocations: 7.125 kB / 0.5342 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.3798, allocations: 72.78 kB / 0.5342 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3798, allocations: 3.953 kB / 0.5343 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.3799, allocations: 1.375 kB / 0.5343 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3799, allocations: 1.375 kB / 0.5343 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.38, allocations: 44.66 kB / 0.5343 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.3805, allocations: 328.7 kB / 0.5346 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.3807, allocations: 60.61 kB / 0.5347 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.3808, allocations: 26.72 kB / 0.5347 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.3808, allocations: 1.375 kB / 0.5347 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.3809, allocations: 38.56 kB / 0.5347 GB, free: 9.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.3809, allocations: 0 / 0.5347 GB, free: 9.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001525/0.3824, allocations: 438.4 kB / 0.5352 GB, free: 9.617 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.3825, allocations: 52.5 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.3826, allocations: 192.4 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3827, allocations: 30.73 kB / 0.5354 GB, free: 9.383 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.531e-05/0.3827, allocations: 109.8 kB / 0.5355 GB, free: 9.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.3828, allocations: 40.2 kB / 0.5356 GB, free: 9.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.3828, allocations: 29.73 kB / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.3829, allocations: 322.4 kB / 0.5359 GB, free: 8.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.3831, allocations: 48.28 kB / 0.5359 GB, free: 8.875 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.3832, allocations: 62.05 kB / 0.536 GB, free: 8.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.3835, allocations: 119.9 kB / 0.5361 GB, free: 8.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.3835, allocations: 0 / 0.5361 GB, free: 8.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003664/0.3839, allocations: 168.6 kB / 0.5363 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3839, allocations: 5.281 kB / 0.5363 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.384, allocations: 5.875 kB / 0.5363 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.384, allocations: 3.938 kB / 0.5363 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.3841, allocations: 29.23 kB / 0.5363 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3841, allocations: 0 / 0.5363 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.518e-05/0.3842, allocations: 14.27 kB / 0.5363 GB, free: 8.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3842, allocations: 2.438 kB / 0.5363 GB, free: 8.664 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.681e-05/0.3843, allocations: 130 kB / 0.5365 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.3844, allocations: 16.91 kB / 0.5365 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.3848, allocations: 191.3 kB / 0.5367 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.3848, allocations: 5 kB / 0.5367 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3848, allocations: 4.938 kB / 0.5367 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.3849, allocations: 0 / 0.5367 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007424/0.3856, allocations: 0.5067 MB / 0.5372 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3856, allocations: 0 / 0.5372 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3857, allocations: 25.39 kB / 0.5372 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3857, allocations: 0.9375 kB / 0.5372 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.3858, allocations: 10.3 kB / 0.5372 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3858, allocations: 1.125 kB / 0.5372 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3858, allocations: 0.7812 kB / 0.5372 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004416/0.3862, allocations: 281 kB / 0.5375 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.3863, allocations: 85.44 kB / 0.5375 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.3863, allocations: 1.062 kB / 0.5375 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3864, allocations: 18.39 kB / 0.5376 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.3865, allocations: 9.359 kB / 0.5376 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.3865, allocations: 7.156 kB / 0.5376 GB, free: 7.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.3866, allocations: 159.5 kB / 0.5377 GB, free: 7.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3867, allocations: 0 / 0.5377 GB, free: 7.477 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.3869, allocations: 26.56 kB / 0.5378 GB, free: 7.469 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.001629/0.3886, allocations: 1.164 MB / 0.5389 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003729/0.389, allocations: 128.9 kB / 0.539 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.389, allocations: 0 / 0.539 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.3892, allocations: 71.7 kB / 0.5391 GB, free: 6.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.3896, allocations: 19.73 kB / 0.5391 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.3922, allocations: 1.918 MB / 0.541 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3925, allocations: 0.716 MB / 0.5417 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.3926, allocations: 39.05 kB / 0.5417 GB, free: 4.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.3927, allocations: 44 kB / 0.5418 GB, free: 4.125 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3927, allocations: 0 / 0.5418 GB, free: 4.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02246/0.4152, allocations: 3.507 MB / 0.5452 GB, free: 2.234 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/8.037, allocations: 9.578 kB / 0.5452 GB, free: 2.227 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26_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_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches