Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 122.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.001346/0.001346, 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.434/1.434, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 79.88 kB / 480.9 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3564, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003598/0.36, allocations: 2.02 MB / 0.5326 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.3623, allocations: 1.253 MB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.3624, allocations: 2.75 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.3627, allocations: 49.08 kB / 0.5339 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.3632, allocations: 209.2 kB / 0.5341 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3642, allocations: 442 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000439/0.3647, allocations: 290.9 kB / 0.5348 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.3649, allocations: 58.64 kB / 0.5348 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.3651, allocations: 133.5 kB / 0.5349 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.3654, allocations: 186.2 kB / 0.5351 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.3655, allocations: 13.66 kB / 0.5351 GB, free: 9.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.3657, allocations: 65.14 kB / 0.5352 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001878/0.3659, allocations: 139.2 kB / 0.5353 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.3661, allocations: 170 kB / 0.5355 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005755/0.3666, allocations: 405.3 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3667, allocations: 1.094 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3667, allocations: 4 kB / 0.5359 GB, free: 9.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.3667, allocations: 0 / 0.5359 GB, free: 9.492 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001201/0.3679, allocations: 0.8159 MB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.3679, allocations: 9.688 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.15e-05/0.368, allocations: 46.23 kB / 0.5367 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003118/0.3683, allocations: 76.25 kB / 0.5368 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.3691, allocations: 480.8 kB / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.3692, allocations: 12.28 kB / 0.5373 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.3692, allocations: 18.89 kB / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.3695, allocations: 129.8 kB / 0.5374 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.3695, allocations: 1.094 kB / 0.5374 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.3696, allocations: 1.125 kB / 0.5374 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3696, allocations: 2.219 kB / 0.5374 GB, free: 8.188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.3698, allocations: 82.95 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.3709, allocations: 0.6769 MB / 0.5382 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.3711, allocations: 116.7 kB / 0.5383 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3712, allocations: 45.23 kB / 0.5383 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.3713, allocations: 13.23 kB / 0.5383 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.3713, allocations: 32.66 kB / 0.5384 GB, free: 7.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.734e-06/0.3713, allocations: 0 / 0.5384 GB, free: 7.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001536/0.3728, allocations: 0.5247 MB / 0.5389 GB, free: 7.098 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.3729, allocations: 82.25 kB / 0.5389 GB, free: 7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.3743, allocations: 0.9273 MB / 0.5399 GB, free: 6.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.3744, allocations: 31.05 kB / 0.5399 GB, free: 6.527 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/0.3746, allocations: 268.4 kB / 0.5401 GB, free: 6.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.3747, allocations: 54.5 kB / 0.5402 GB, free: 6.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-05/0.3748, allocations: 36.45 kB / 0.5402 GB, free: 6.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.375, allocations: 386.3 kB / 0.5406 GB, free: 5.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.3752, allocations: 49.81 kB / 0.5406 GB, free: 5.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.3754, allocations: 72.67 kB / 0.5407 GB, free: 5.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.3757, allocations: 139.2 kB / 0.5408 GB, free: 5.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3757, allocations: 0 / 0.5408 GB, free: 5.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005374/0.3763, allocations: 234.7 kB / 0.5411 GB, free: 5.574 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.3763, allocations: 5.719 kB / 0.5411 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3763, allocations: 0 / 0.5411 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.3763, allocations: 1.125 kB / 0.5411 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.3766, allocations: 41.34 kB / 0.5411 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.3766, allocations: 3.938 kB / 0.5411 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.3767, allocations: 13.11 kB / 0.5411 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/0.3768, allocations: 8.438 kB / 0.5411 GB, free: 5.551 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002484/0.377, allocations: 208.5 kB / 0.5413 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.3772, allocations: 61.33 kB / 0.5414 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006589/0.3778, allocations: 280.8 kB / 0.5417 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3778, allocations: 2.406 kB / 0.5417 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3778, allocations: 1.219 kB / 0.5417 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3779, allocations: 0 / 0.5417 GB, free: 5.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.3791, allocations: 0.7842 MB / 0.5424 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3791, allocations: 0 / 0.5424 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.3793, allocations: 44.19 kB / 0.5425 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3793, allocations: 1.094 kB / 0.5425 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3793, allocations: 2.094 kB / 0.5425 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.3793, allocations: 5 kB / 0.5425 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3793, allocations: 1.031 kB / 0.5425 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.3799, allocations: 409 kB / 0.5429 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.3801, allocations: 149.9 kB / 0.543 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.3801, allocations: 10.12 kB / 0.543 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.3803, allocations: 15.64 kB / 0.543 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.3804, allocations: 27.11 kB / 0.5431 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3804, allocations: 3.344 kB / 0.5431 GB, free: 4.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009014/0.3813, allocations: 0.672 MB / 0.5437 GB, free: 3.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3813, allocations: 0 / 0.5437 GB, free: 3.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004076/0.3818, allocations: 54.33 kB / 0.5438 GB, free: 3.738 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.00259/0.3844, allocations: 1.232 MB / 0.545 GB, free: 2.758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004791/0.3849, allocations: 143.8 kB / 0.5451 GB, free: 2.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3849, allocations: 0 / 0.5451 GB, free: 2.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.3851, allocations: 87.88 kB / 0.5452 GB, free: 2.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006589/0.3857, allocations: 82.8 kB / 0.5453 GB, free: 2.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007138/0.3929, allocations: 5.07 MB / 0.5502 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.3935, allocations: 0.8604 MB / 0.5511 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.3937, allocations: 79.23 kB / 0.5511 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.394, allocations: 175.4 kB / 0.5513 GB, free: 12.16 MB / 414.1 MB Notification: Performance of SimCode: time 1.383e-06/0.394, allocations: 0 / 0.5513 GB, free: 12.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0357/0.4297, allocations: 9.905 MB / 0.561 GB, free: 2.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.655/9.085, allocations: 2.922 kB / 0.561 GB, free: 2.344 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_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_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches