Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001751/0.001751, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001989/0.001989, allocations: 201.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.476/1.476, allocations: 227.4 MB / 247 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.13 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 79.81 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3421, allocations: 62.44 MB / 0.5306 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003198/0.3453, allocations: 1.686 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3465, allocations: 0.5753 MB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.963e-05/0.3466, allocations: 1.188 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.3469, allocations: 47.28 kB / 0.5329 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003481/0.3473, allocations: 95.38 kB / 0.533 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004909/0.3478, allocations: 181 kB / 0.5331 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.348, allocations: 89.61 kB / 0.5332 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.3481, allocations: 23.39 kB / 0.5333 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.909e-05/0.3482, allocations: 36.89 kB / 0.5333 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3483, allocations: 43.12 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.3483, allocations: 4.125 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.3485, allocations: 52.91 kB / 0.5334 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.3485, allocations: 21.55 kB / 0.5334 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.3486, allocations: 42.61 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.3488, allocations: 115 kB / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3488, allocations: 0 / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3488, allocations: 0 / 0.5336 GB, free: 11.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3489, allocations: 0 / 0.5336 GB, free: 11.15 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.0006195/0.3495, allocations: 431.7 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3495, allocations: 9.625 kB / 0.534 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.241e-05/0.3496, allocations: 36.06 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.3496, allocations: 14.34 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.3499, allocations: 204.5 kB / 0.5342 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.3499, allocations: 5.75 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.3499, allocations: 3.125 kB / 0.5342 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.3501, allocations: 78.2 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.3501, allocations: 0 / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3501, allocations: 4 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3502, allocations: 1.375 kB / 0.5343 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.3503, allocations: 44.64 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.3508, allocations: 324.6 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.3511, allocations: 64.7 kB / 0.5347 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.157e-05/0.3512, allocations: 30.72 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3512, allocations: 1.375 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.3512, allocations: 34.55 kB / 0.5348 GB, free: 9.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.3512, allocations: 5.312 kB / 0.5348 GB, free: 9.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001521/0.3528, allocations: 429.6 kB / 0.5352 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.3528, allocations: 52.53 kB / 0.5353 GB, free: 9.629 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.3531, allocations: 187.3 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3531, allocations: 26.77 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.067e-05/0.3532, allocations: 104.7 kB / 0.5356 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.3532, allocations: 44.33 kB / 0.5356 GB, free: 9.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.3533, allocations: 26.75 kB / 0.5356 GB, free: 9.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3535, allocations: 321.7 kB / 0.5359 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3537, allocations: 57.3 kB / 0.536 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.3538, allocations: 53.11 kB / 0.536 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.3542, allocations: 136.8 kB / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3542, allocations: 0 / 0.5362 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003888/0.3546, allocations: 155.8 kB / 0.5363 GB, free: 8.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3546, allocations: 9.453 kB / 0.5363 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3546, allocations: 3.984 kB / 0.5363 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.3546, allocations: 5.062 kB / 0.5363 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.3548, allocations: 32.05 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3548, allocations: 1.062 kB / 0.5364 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.3549, allocations: 10.77 kB / 0.5364 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.3549, allocations: 6.438 kB / 0.5364 GB, free: 8.727 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 0.0001348/0.355, allocations: 127.2 kB / 0.5365 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.3551, allocations: 14.44 kB / 0.5365 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004506/0.3555, allocations: 189.9 kB / 0.5367 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.3555, allocations: 9.359 kB / 0.5367 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3556, allocations: 0 / 0.5367 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3556, allocations: 0 / 0.5367 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008239/0.3564, allocations: 0.5014 MB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3564, allocations: 1.062 kB / 0.5372 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3565, allocations: 28.53 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3565, allocations: 1.062 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.3565, allocations: 2.156 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3566, allocations: 1.125 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3566, allocations: 1.219 kB / 0.5372 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.357, allocations: 281.5 kB / 0.5375 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/0.3571, allocations: 100 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.3571, allocations: 2.062 kB / 0.5376 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3573, allocations: 15.14 kB / 0.5376 GB, free: 7.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.3573, allocations: 7.719 kB / 0.5376 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.3573, allocations: 3.938 kB / 0.5376 GB, free: 7.664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001416/0.3575, allocations: 144.8 kB / 0.5378 GB, free: 7.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3575, allocations: 0 / 0.5378 GB, free: 7.559 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000271/0.3578, allocations: 27.53 kB / 0.5378 GB, free: 7.551 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.002446/0.3602, allocations: 1.16 MB / 0.5389 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004158/0.3606, allocations: 128.9 kB / 0.539 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3607, allocations: 0 / 0.539 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.3608, allocations: 71.08 kB / 0.5391 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3613, allocations: 19.97 kB / 0.5391 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.3639, allocations: 1.907 MB / 0.541 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004212/0.3644, allocations: 0.7155 MB / 0.5417 GB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.3645, allocations: 34.8 kB / 0.5417 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.3646, allocations: 40.25 kB / 0.5418 GB, free: 4.219 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3646, allocations: 3.938 kB / 0.5418 GB, free: 4.215 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.3896, allocations: 3.437 MB / 0.5451 GB, free: 2.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/8.226, allocations: 9.109 kB / 0.5451 GB, free: 2.344 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_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_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches