Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 112.1 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2042/0.2042, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 68.08 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3344, allocations: 60.82 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002783/0.3373, allocations: 1.629 MB / 0.5201 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006619/0.3379, allocations: 431.2 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.338, allocations: 0.9688 kB / 0.5205 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005887/0.3386, allocations: 449.9 kB / 0.5209 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.339, allocations: 256.5 kB / 0.5211 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.3394, allocations: 128 kB / 0.5213 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000298/0.3397, allocations: 166.1 kB / 0.5214 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3398, allocations: 18.36 kB / 0.5214 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.34, allocations: 112.1 kB / 0.5215 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.3402, allocations: 211.5 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3403, allocations: 3.438 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3404, allocations: 47.77 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.3405, allocations: 88.81 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.3406, allocations: 113 kB / 0.522 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.3409, allocations: 268.7 kB / 0.5222 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3409, allocations: 1.094 kB / 0.5222 GB, free: 1.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.341, allocations: 0 / 0.5222 GB, free: 1.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.341, allocations: 0 / 0.5222 GB, free: 1.422 MB / 382.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.000596/0.3416, allocations: 0.656 MB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3416, allocations: 9.25 kB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.3416, allocations: 37.67 kB / 0.5229 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.3417, allocations: 42.59 kB / 0.523 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.3419, allocations: 316.4 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3419, allocations: 6.547 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.342, allocations: 3.031 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.3421, allocations: 57.91 kB / 0.5233 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3421, allocations: 9.922 kB / 0.5233 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.3421, allocations: 0 / 0.5233 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3422, allocations: 2.312 kB / 0.5233 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.381e-05/0.3423, allocations: 33.19 kB / 0.5234 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.3427, allocations: 399.2 kB / 0.5238 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.359e-05/0.3428, allocations: 43.44 kB / 0.5238 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.462e-05/0.3428, allocations: 18.89 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.3428, allocations: 2.969 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.3429, allocations: 30.56 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.3429, allocations: 4 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009461/0.3438, allocations: 305.4 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.3439, allocations: 61.33 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008781/0.3448, allocations: 0.8636 MB / 0.525 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.3448, allocations: 29.7 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.345, allocations: 223.6 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.345, allocations: 26.33 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.3451, allocations: 24.31 kB / 0.5253 GB, free: 15.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3452, allocations: 357.7 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.532e-05/0.3453, allocations: 27.52 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.3454, allocations: 31.8 kB / 0.5257 GB, free: 14.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.3455, allocations: 63.41 kB / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3456, allocations: 0 / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002374/0.3458, allocations: 131.3 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3458, allocations: 5.5 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.3458, allocations: 1.891 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3458, allocations: 0 / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.346, allocations: 21.02 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.346, allocations: 6.078 kB / 0.526 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.522e-05/0.3461, allocations: 11.91 kB / 0.526 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3461, allocations: 3.359 kB / 0.526 GB, free: 14.75 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 (8): * Single equations (assignments): 8 * 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.000195/0.3463, allocations: 212.7 kB / 0.5262 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.755e-05/0.3463, allocations: 41.59 kB / 0.5262 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.3467, allocations: 161.8 kB / 0.5264 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3467, allocations: 7.938 kB / 0.5264 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3467, allocations: 1.375 kB / 0.5264 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3467, allocations: 4.641 kB / 0.5264 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.3474, allocations: 0.5024 MB / 0.5269 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3474, allocations: 0 / 0.5269 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.3474, allocations: 22.08 kB / 0.5269 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3475, allocations: 1.188 kB / 0.5269 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3475, allocations: 12.94 kB / 0.5269 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3475, allocations: 0.9375 kB / 0.5269 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3475, allocations: 1.344 kB / 0.5269 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.3478, allocations: 246.5 kB / 0.5271 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.981e-05/0.3479, allocations: 110.3 kB / 0.5272 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.3479, allocations: 9.047 kB / 0.5273 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.348, allocations: 8.594 kB / 0.5273 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.3481, allocations: 11.11 kB / 0.5273 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.3481, allocations: 2.906 kB / 0.5273 GB, free: 13.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000606/0.3487, allocations: 0.6525 MB / 0.5279 GB, free: 13.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3487, allocations: 0 / 0.5279 GB, free: 13.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000279/0.349, allocations: 25.33 kB / 0.5279 GB, free: 13.41 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 (8): * Single equations (assignments): 8 * 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.001436/0.3504, allocations: 1.132 MB / 0.529 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.3507, allocations: 68.55 kB / 0.5291 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3507, allocations: 0 / 0.5291 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.3508, allocations: 37.17 kB / 0.5291 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.3512, allocations: 26.39 kB / 0.5292 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.3548, allocations: 3.291 MB / 0.5324 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.3552, allocations: 0.8253 MB / 0.5332 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.616e-05/0.3553, allocations: 20.72 kB / 0.5332 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.3555, allocations: 106.5 kB / 0.5333 GB, free: 9.488 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3555, allocations: 0 / 0.5333 GB, free: 9.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.3801, allocations: 6.279 MB / 0.5394 GB, free: 6.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.24/8.621, allocations: 10.28 kB / 0.5395 GB, free: 6.305 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches