Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",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.00104/0.00104, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.00118/0.00118, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.1998/0.1998, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3239, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002608/0.3266, allocations: 1.631 MB / 0.52 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.3279, allocations: 1.038 MB / 0.521 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.328, allocations: 1.188 kB / 0.521 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.3282, allocations: 23.16 kB / 0.5211 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.3285, allocations: 38.3 kB / 0.5211 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.3288, allocations: 136.6 kB / 0.5212 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.329, allocations: 61.44 kB / 0.5213 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3291, allocations: 21.89 kB / 0.5213 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.549e-05/0.3292, allocations: 21.08 kB / 0.5213 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3293, allocations: 30.64 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3294, allocations: 3.406 kB / 0.5214 GB, free: 1.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.3295, allocations: 55.62 kB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.3296, allocations: 15.94 kB / 0.5214 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.3296, allocations: 23.7 kB / 0.5215 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.3299, allocations: 107.7 kB / 0.5216 GB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3299, allocations: 0.8438 kB / 0.5216 GB, free: 1.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3299, allocations: 1.062 kB / 0.5216 GB, free: 1.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.3299, allocations: 0 / 0.5216 GB, free: 1.156 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004789/0.3304, allocations: 395.3 kB / 0.5219 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3304, allocations: 10.28 kB / 0.5219 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.815e-05/0.3305, allocations: 44.3 kB / 0.522 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.3305, allocations: 8.234 kB / 0.522 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.3307, allocations: 192.2 kB / 0.5222 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.3307, allocations: 6.344 kB / 0.5222 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.3307, allocations: 10.31 kB / 0.5222 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.3309, allocations: 69 kB / 0.5223 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.331, allocations: 0 / 0.5223 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.331, allocations: 1.156 kB / 0.5223 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.331, allocations: 5.734 kB / 0.5223 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.3311, allocations: 39.98 kB / 0.5223 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003015/0.3314, allocations: 287.3 kB / 0.5226 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.3316, allocations: 44.27 kB / 0.5226 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.78e-05/0.3316, allocations: 27.52 kB / 0.5226 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.3317, allocations: 0.9688 kB / 0.5226 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.3317, allocations: 36.11 kB / 0.5227 GB, free: 40 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.3317, allocations: 0 / 0.5227 GB, free: 40 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007491/0.3325, allocations: 211.2 kB / 0.5229 GB, free: 15.95 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.3325, allocations: 79.06 kB / 0.523 GB, free: 15.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3327, allocations: 140.4 kB / 0.5231 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.3327, allocations: 25.7 kB / 0.5231 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.3327, allocations: 98.03 kB / 0.5232 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.3328, allocations: 25.05 kB / 0.5232 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.3328, allocations: 19.75 kB / 0.5233 GB, free: 15.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.3329, allocations: 324 kB / 0.5236 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.3331, allocations: 34.05 kB / 0.5236 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.3332, allocations: 46.72 kB / 0.5236 GB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/0.3334, allocations: 69.53 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3334, allocations: 4.781 kB / 0.5237 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003013/0.3337, allocations: 117.3 kB / 0.5238 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3337, allocations: 8.812 kB / 0.5238 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3338, allocations: 0 / 0.5238 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3338, allocations: 0.7031 kB / 0.5238 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.3339, allocations: 19.31 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3339, allocations: 5 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.192e-05/0.334, allocations: 14.41 kB / 0.5239 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.334, allocations: 1.312 kB / 0.5239 GB, free: 15.14 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 8.648e-05/0.3341, allocations: 115.5 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.3341, allocations: 7.734 kB / 0.524 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.3345, allocations: 127.3 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3345, allocations: 5.062 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3345, allocations: 5.062 kB / 0.5241 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3345, allocations: 4.734 kB / 0.5241 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005348/0.3351, allocations: 385.3 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3351, allocations: 3.938 kB / 0.5245 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.3352, allocations: 23 kB / 0.5245 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3352, allocations: 11.88 kB / 0.5245 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3352, allocations: 5.062 kB / 0.5245 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3352, allocations: 2.344 kB / 0.5245 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3352, allocations: 0 / 0.5245 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.3355, allocations: 201.9 kB / 0.5247 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.3356, allocations: 85.67 kB / 0.5248 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.3356, allocations: 8.5 kB / 0.5248 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.938e-05/0.3357, allocations: 14.38 kB / 0.5248 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.3358, allocations: 6.188 kB / 0.5248 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.3358, allocations: 2.219 kB / 0.5248 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.089e-05/0.3359, allocations: 108.4 kB / 0.5249 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3359, allocations: 0 / 0.5249 GB, free: 14.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3362, allocations: 27.73 kB / 0.525 GB, free: 14.24 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.00148/0.3377, allocations: 1.087 MB / 0.526 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.338, allocations: 78.53 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.338, allocations: 0 / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.3382, allocations: 45.41 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.3385, allocations: 17.42 kB / 0.5262 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.3404, allocations: 1.53 MB / 0.5277 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.3407, allocations: 0.6955 MB / 0.5283 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.459e-05/0.3408, allocations: 18.36 kB / 0.5284 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.3409, allocations: 32.33 kB / 0.5284 GB, free: 11.38 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3409, allocations: 0 / 0.5284 GB, free: 11.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.363, allocations: 3.052 MB / 0.5314 GB, free: 9.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/8.039, allocations: 21.52 kB / 0.5314 GB, free: 9.93 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_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_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches