Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",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.001359/0.001359, allocations: 116.6 kB / 17.78 MB, free: 5.262 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.001231/0.001231, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.406/1.406, 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.2193/0.2193, allocations: 44.17 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3456, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003071/0.3487, allocations: 1.965 MB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.3505, allocations: 1.032 MB / 0.5214 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.3507, allocations: 3.188 kB / 0.5214 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002681/0.351, allocations: 39.73 kB / 0.5214 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.3514, allocations: 143.9 kB / 0.5215 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.3524, allocations: 424.9 kB / 0.5219 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.3528, allocations: 251.6 kB / 0.5222 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001849/0.353, allocations: 62.12 kB / 0.5222 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.3532, allocations: 118.8 kB / 0.5224 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.3535, allocations: 178.9 kB / 0.5225 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.023e-05/0.3535, allocations: 11.88 kB / 0.5225 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.3537, allocations: 55.48 kB / 0.5226 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.3539, allocations: 136.1 kB / 0.5227 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.354, allocations: 160.8 kB / 0.5229 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.3545, allocations: 394.7 kB / 0.5233 GB, free: 340 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3545, allocations: 0 / 0.5233 GB, free: 340 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3545, allocations: 0 / 0.5233 GB, free: 340 kB / 382.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3545, allocations: 0 / 0.5233 GB, free: 340 kB / 382.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.001028/0.3556, allocations: 0.7871 MB / 0.524 GB, free: 15.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3556, allocations: 9.781 kB / 0.524 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.479e-05/0.3557, allocations: 39.91 kB / 0.5241 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.955e-05/0.3558, allocations: 53.7 kB / 0.5241 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006289/0.3564, allocations: 456.8 kB / 0.5246 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.3565, allocations: 11.81 kB / 0.5246 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.3565, allocations: 15.62 kB / 0.5246 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.3568, allocations: 122 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.202e-05/0.3568, allocations: 9 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3569, allocations: 1.891 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3569, allocations: 2.312 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/0.3571, allocations: 76.55 kB / 0.5248 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.3582, allocations: 0.6746 MB / 0.5254 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.3584, allocations: 105.3 kB / 0.5255 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3585, allocations: 50.72 kB / 0.5256 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/0.3586, allocations: 7.781 kB / 0.5256 GB, free: 14.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.3586, allocations: 40.81 kB / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.3586, allocations: 0 / 0.5256 GB, free: 14.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001466/0.3601, allocations: 0.5177 MB / 0.5261 GB, free: 14.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.3602, allocations: 83.8 kB / 0.5262 GB, free: 14.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.3613, allocations: 0.8685 MB / 0.5271 GB, free: 13.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.3613, allocations: 31.34 kB / 0.5271 GB, free: 13.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.3615, allocations: 248.3 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.153e-05/0.3616, allocations: 59.14 kB / 0.5274 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.808e-05/0.3617, allocations: 41.86 kB / 0.5274 GB, free: 13.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.3619, allocations: 372.1 kB / 0.5278 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.3621, allocations: 54.39 kB / 0.5278 GB, free: 13.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.3623, allocations: 73.33 kB / 0.5279 GB, free: 13.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.3626, allocations: 138 kB / 0.528 GB, free: 13.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3626, allocations: 0 / 0.528 GB, free: 13.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005284/0.3632, allocations: 221.2 kB / 0.5283 GB, free: 12.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3632, allocations: 8.188 kB / 0.5283 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3632, allocations: 1.062 kB / 0.5283 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3632, allocations: 1.062 kB / 0.5283 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.3635, allocations: 44.09 kB / 0.5283 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3635, allocations: 5.062 kB / 0.5283 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.3636, allocations: 20.28 kB / 0.5283 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.3637, allocations: 8.234 kB / 0.5283 GB, free: 12.95 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.0002606/0.3639, allocations: 207.4 kB / 0.5285 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3641, allocations: 56.91 kB / 0.5286 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006101/0.3647, allocations: 266.5 kB / 0.5288 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3647, allocations: 3.188 kB / 0.5288 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/0.3647, allocations: 0 / 0.5288 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3647, allocations: 1.156 kB / 0.5288 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.3659, allocations: 0.7826 MB / 0.5296 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.3659, allocations: 0 / 0.5296 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.3661, allocations: 39.5 kB / 0.5296 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3661, allocations: 1 kB / 0.5296 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.3661, allocations: 6.5 kB / 0.5297 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3662, allocations: 5.156 kB / 0.5297 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3662, allocations: 1.156 kB / 0.5297 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.3667, allocations: 397.2 kB / 0.53 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.3669, allocations: 153.6 kB / 0.5302 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.367, allocations: 5.547 kB / 0.5302 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.3671, allocations: 16.66 kB / 0.5302 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.3672, allocations: 14.75 kB / 0.5302 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.3672, allocations: 12.62 kB / 0.5302 GB, free: 11.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007696/0.368, allocations: 0.6374 MB / 0.5309 GB, free: 11.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.368, allocations: 0 / 0.5309 GB, free: 11.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.3684, allocations: 51.78 kB / 0.5309 GB, free: 11.18 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.002225/0.3706, allocations: 1.236 MB / 0.5321 GB, free: 10.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004203/0.3711, allocations: 143.7 kB / 0.5322 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3711, allocations: 0 / 0.5322 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.3713, allocations: 83.55 kB / 0.5323 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.372, allocations: 81.89 kB / 0.5324 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00688/0.3788, allocations: 4.935 MB / 0.5372 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.3794, allocations: 0.8486 MB / 0.5381 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.3796, allocations: 81.38 kB / 0.5381 GB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.3799, allocations: 162.8 kB / 0.5383 GB, free: 6.371 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3799, allocations: 1.188 kB / 0.5383 GB, free: 6.371 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.4133, allocations: 9.562 MB / 0.5476 GB, free: 13.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.507/8.921, allocations: 14.69 kB / 0.5476 GB, free: 13.98 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches