Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001182/0.001182, allocations: 117.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.001306/0.001306, allocations: 200.6 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.447/1.447, 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.2464/0.2464, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 76.09 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4194, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.003271/0.4227, allocations: 1.654 MB / 0.5321 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.4239, allocations: 0.569 MB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.424, allocations: 0 / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006471/0.4246, allocations: 449.3 kB / 0.5331 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005095/0.4251, allocations: 295.3 kB / 0.5334 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.4256, allocations: 130.5 kB / 0.5335 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.4258, allocations: 177.2 kB / 0.5337 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.426, allocations: 19.73 kB / 0.5337 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.4261, allocations: 106.3 kB / 0.5338 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.4264, allocations: 215.6 kB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.4264, allocations: 3.688 kB / 0.534 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.822e-05/0.4265, allocations: 38.77 kB / 0.5341 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.4266, allocations: 81.31 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.581e-05/0.4267, allocations: 103.5 kB / 0.5343 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.4271, allocations: 275.3 kB / 0.5345 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4271, allocations: 4 kB / 0.5345 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4271, allocations: 0 / 0.5345 GB, free: 10.72 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.4271, allocations: 1.5 kB / 0.5345 GB, free: 10.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007676/0.4279, allocations: 0.666 MB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4279, allocations: 8.688 kB / 0.5352 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.428, allocations: 35.88 kB / 0.5352 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.428, allocations: 43.81 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.4283, allocations: 311.3 kB / 0.5356 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.4284, allocations: 10.66 kB / 0.5356 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.4284, allocations: 2.969 kB / 0.5356 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.4285, allocations: 60.58 kB / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4286, allocations: 0 / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.4286, allocations: 1.25 kB / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4286, allocations: 0 / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.4287, allocations: 37.31 kB / 0.5357 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.4293, allocations: 400 kB / 0.536 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.4294, allocations: 43.56 kB / 0.5361 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.627e-05/0.4295, allocations: 23.97 kB / 0.5361 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.4295, allocations: 0 / 0.5361 GB, free: 9.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4296, allocations: 35.67 kB / 0.5361 GB, free: 9.188 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.4296, allocations: 5.125 kB / 0.5361 GB, free: 9.184 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009275/0.4305, allocations: 293 kB / 0.5364 GB, free: 9.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.4305, allocations: 52.5 kB / 0.5365 GB, free: 8.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009606/0.4315, allocations: 0.8747 MB / 0.5373 GB, free: 8.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.4315, allocations: 33.64 kB / 0.5374 GB, free: 8.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.4317, allocations: 216.1 kB / 0.5376 GB, free: 8.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.4318, allocations: 31.28 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.4318, allocations: 19.28 kB / 0.5376 GB, free: 8.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.432, allocations: 363.4 kB / 0.538 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.4321, allocations: 30.94 kB / 0.538 GB, free: 7.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.4322, allocations: 39.12 kB / 0.538 GB, free: 7.871 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.4324, allocations: 71.81 kB / 0.5381 GB, free: 7.836 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4324, allocations: 4 kB / 0.5381 GB, free: 7.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003121/0.4328, allocations: 141.6 kB / 0.5382 GB, free: 7.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4328, allocations: 5.344 kB / 0.5382 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4328, allocations: 5.031 kB / 0.5382 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4328, allocations: 0 / 0.5382 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.433, allocations: 26.69 kB / 0.5383 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.433, allocations: 5.375 kB / 0.5383 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.4331, allocations: 9.688 kB / 0.5383 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.4331, allocations: 10.48 kB / 0.5383 GB, free: 7.719 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 (7): * Single equations (assignments): 7 * 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.0001897/0.4333, allocations: 210.2 kB / 0.5385 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.4333, allocations: 46.97 kB / 0.5385 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003678/0.4337, allocations: 172.8 kB / 0.5387 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4337, allocations: 1.438 kB / 0.5387 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4337, allocations: 0 / 0.5387 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4338, allocations: 4.219 kB / 0.5387 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.4344, allocations: 499.8 kB / 0.5392 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4344, allocations: 0 / 0.5392 GB, free: 7.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.83e-05/0.4345, allocations: 27.94 kB / 0.5392 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.4345, allocations: 3.984 kB / 0.5392 GB, free: 6.992 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.4345, allocations: 5.188 kB / 0.5392 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4346, allocations: 0 / 0.5392 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4346, allocations: 1.219 kB / 0.5392 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.4349, allocations: 252.5 kB / 0.5395 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.659e-05/0.435, allocations: 114.7 kB / 0.5396 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.435, allocations: 9.219 kB / 0.5396 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.4351, allocations: 9.516 kB / 0.5396 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.4352, allocations: 7.031 kB / 0.5396 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.4352, allocations: 1.438 kB / 0.5396 GB, free: 6.652 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000624/0.4358, allocations: 0.6627 MB / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4358, allocations: 0 / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.4361, allocations: 19.81 kB / 0.5403 GB, free: 6.328 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001395/0.4375, allocations: 1.086 MB / 0.5413 GB, free: 5.473 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002993/0.4378, allocations: 75.91 kB / 0.5414 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4378, allocations: 0 / 0.5414 GB, free: 5.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.4379, allocations: 44.66 kB / 0.5414 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.4384, allocations: 26.31 kB / 0.5415 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.4425, allocations: 3.334 MB / 0.5447 GB, free: 2.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.4429, allocations: 0.826 MB / 0.5455 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.897e-05/0.4429, allocations: 12.67 kB / 0.5455 GB, free: 2.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.4431, allocations: 107.4 kB / 0.5456 GB, free: 1.953 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4431, allocations: 0 / 0.5456 GB, free: 1.953 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.4666, allocations: 6.171 MB / 0.5517 GB, free: 11.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/8.704, allocations: 8.812 kB / 0.5517 GB, free: 11.85 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches