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.001505/0.001511, allocations: 117.6 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.00188/0.00188, allocations: 203.9 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.584/1.584, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2443/0.2443, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 75.88 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.374, allocations: 62.43 MB / 0.5305 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003624/0.3776, allocations: 2.03 MB / 0.5325 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.3798, allocations: 1.249 MB / 0.5337 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.3801, allocations: 2.75 kB / 0.5337 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.3804, allocations: 47.66 kB / 0.5338 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005811/0.381, allocations: 214.6 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.382, allocations: 438.4 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000503/0.3825, allocations: 293.3 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.3827, allocations: 61.67 kB / 0.5347 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.3831, allocations: 130.7 kB / 0.5349 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.3834, allocations: 185.7 kB / 0.535 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.251e-05/0.3835, allocations: 13.72 kB / 0.5351 GB, free: 9.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001954/0.3837, allocations: 68.36 kB / 0.5351 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.3839, allocations: 135.6 kB / 0.5353 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.3841, allocations: 174.6 kB / 0.5354 GB, free: 9.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006592/0.3847, allocations: 409.2 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3848, allocations: 0 / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3848, allocations: 1.344 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.3848, allocations: 0 / 0.5358 GB, free: 9.496 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.001565/0.3864, allocations: 0.8155 MB / 0.5366 GB, free: 8.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.3864, allocations: 13.89 kB / 0.5366 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.3865, allocations: 40.97 kB / 0.5367 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004035/0.3869, allocations: 81.98 kB / 0.5367 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009195/0.3878, allocations: 476.3 kB / 0.5372 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.3879, allocations: 8.312 kB / 0.5372 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.3879, allocations: 14.84 kB / 0.5372 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.3882, allocations: 129.8 kB / 0.5373 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3882, allocations: 1.031 kB / 0.5373 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.3883, allocations: 5.031 kB / 0.5373 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3883, allocations: 2.094 kB / 0.5373 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002181/0.3885, allocations: 78.95 kB / 0.5374 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.3897, allocations: 0.6929 MB / 0.5381 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.3899, allocations: 105.2 kB / 0.5382 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.39, allocations: 39.27 kB / 0.5382 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.774e-05/0.3901, allocations: 14.36 kB / 0.5382 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.3901, allocations: 36 kB / 0.5383 GB, free: 7.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.3901, allocations: 0 / 0.5383 GB, free: 7.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001741/0.3919, allocations: 0.5285 MB / 0.5388 GB, free: 7.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.3919, allocations: 79.52 kB / 0.5389 GB, free: 7.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.3934, allocations: 0.93 MB / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3934, allocations: 27.08 kB / 0.5398 GB, free: 6.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.3936, allocations: 261.6 kB / 0.5401 GB, free: 6.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.3937, allocations: 57.27 kB / 0.5401 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.78e-05/0.3938, allocations: 33.83 kB / 0.5401 GB, free: 6.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002634/0.3941, allocations: 378.2 kB / 0.5405 GB, free: 5.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.3942, allocations: 65.39 kB / 0.5406 GB, free: 5.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.3944, allocations: 72.19 kB / 0.5406 GB, free: 5.789 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.3948, allocations: 138.9 kB / 0.5408 GB, free: 5.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.3948, allocations: 4 kB / 0.5408 GB, free: 5.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000542/0.3954, allocations: 231 kB / 0.541 GB, free: 5.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3954, allocations: 5.594 kB / 0.541 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3954, allocations: 1.094 kB / 0.541 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.3954, allocations: 1.094 kB / 0.541 GB, free: 5.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.3957, allocations: 40.31 kB / 0.541 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3957, allocations: 1.281 kB / 0.541 GB, free: 5.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.3958, allocations: 15.61 kB / 0.5411 GB, free: 5.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.3959, allocations: 4.375 kB / 0.5411 GB, free: 5.562 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.0002734/0.3962, allocations: 216.6 kB / 0.5413 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.3963, allocations: 61.2 kB / 0.5413 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/0.3969, allocations: 273.6 kB / 0.5416 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3969, allocations: 2.344 kB / 0.5416 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.3969, allocations: 1.312 kB / 0.5416 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3969, allocations: 0 / 0.5416 GB, free: 5.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.3982, allocations: 0.7837 MB / 0.5424 GB, free: 4.574 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3982, allocations: 9.062 kB / 0.5424 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.3984, allocations: 39.47 kB / 0.5424 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3984, allocations: 1.219 kB / 0.5424 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.3984, allocations: 6.156 kB / 0.5424 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3984, allocations: 5.062 kB / 0.5424 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3984, allocations: 1.062 kB / 0.5424 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005663/0.399, allocations: 398.7 kB / 0.5428 GB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001984/0.3992, allocations: 159.5 kB / 0.5429 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.3993, allocations: 1.031 kB / 0.5429 GB, free: 4.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.3995, allocations: 23.83 kB / 0.543 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.3995, allocations: 10.8 kB / 0.543 GB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.3996, allocations: 7.625 kB / 0.543 GB, free: 4.078 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009174/0.4005, allocations: 0.6752 MB / 0.5436 GB, free: 3.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4005, allocations: 4 kB / 0.5436 GB, free: 3.754 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004167/0.4009, allocations: 54.38 kB / 0.5437 GB, free: 3.746 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.001859/0.4028, allocations: 1.234 MB / 0.5449 GB, free: 2.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.4032, allocations: 147.8 kB / 0.545 GB, free: 2.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4032, allocations: 0 / 0.545 GB, free: 2.609 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.4034, allocations: 79.89 kB / 0.5451 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.0006415/0.4041, allocations: 89.34 kB / 0.5452 GB, free: 2.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006794/0.4109, allocations: 5.062 MB / 0.5502 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.4115, allocations: 0.8684 MB / 0.551 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001895/0.4117, allocations: 79.23 kB / 0.5511 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.412, allocations: 175.4 kB / 0.5512 GB, free: 12.16 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.412, allocations: 0 / 0.5512 GB, free: 12.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.4442, allocations: 9.908 MB / 0.5609 GB, free: 2.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/8.928, allocations: 8.859 kB / 0.5609 GB, free: 2.328 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