Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001641/0.001641, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001792/0.001792, allocations: 183.9 kB / 18.71 MB, free: 4.34 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.458/1.458, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2224/0.2224, allocations: 44.18 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 71.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3634, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.002925/0.3664, allocations: 1.584 MB / 0.52 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007667/0.3672, allocations: 428.3 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.195e-05/0.3673, allocations: 1.094 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007574/0.368, allocations: 458.3 kB / 0.5208 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.3685, allocations: 256.5 kB / 0.5211 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.369, allocations: 169.7 kB / 0.5212 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002977/0.3693, allocations: 162 kB / 0.5214 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3694, allocations: 16.34 kB / 0.5214 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.3696, allocations: 108.3 kB / 0.5215 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.3699, allocations: 215.1 kB / 0.5217 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.3699, allocations: 3.438 kB / 0.5217 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.691e-05/0.37, allocations: 24.16 kB / 0.5217 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.3701, allocations: 82.16 kB / 0.5218 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.43e-05/0.3702, allocations: 100.1 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.3706, allocations: 255.5 kB / 0.5222 GB, free: 1.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3706, allocations: 0 / 0.5222 GB, free: 1.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3706, allocations: 0 / 0.5222 GB, free: 1.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.3706, allocations: 0 / 0.5222 GB, free: 1.465 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007033/0.3713, allocations: 0.66 MB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3714, allocations: 9.406 kB / 0.5228 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.3714, allocations: 32.8 kB / 0.5229 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.3715, allocations: 43.62 kB / 0.5229 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.3717, allocations: 301.2 kB / 0.5232 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3717, allocations: 4.375 kB / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.3717, allocations: 5.688 kB / 0.5232 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3719, allocations: 55.75 kB / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3719, allocations: 0 / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.372, allocations: 1.938 kB / 0.5232 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.372, allocations: 3.938 kB / 0.5232 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.3721, allocations: 36.09 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.3726, allocations: 393.2 kB / 0.5237 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3727, allocations: 48.59 kB / 0.5237 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/0.3728, allocations: 28.75 kB / 0.5237 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.3728, allocations: 2.141 kB / 0.5237 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.3728, allocations: 35.2 kB / 0.5238 GB, free: 68 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3729, allocations: 5.344 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003665/0.3732, allocations: 126.8 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.3733, allocations: 51.92 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000921/0.3742, allocations: 0.8639 MB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3742, allocations: 25.7 kB / 0.5248 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.3744, allocations: 216.8 kB / 0.525 GB, free: 15.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.099e-05/0.3745, allocations: 5.984 kB / 0.525 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.3745, allocations: 13.03 kB / 0.525 GB, free: 15.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.3747, allocations: 366.5 kB / 0.5254 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.401e-05/0.3748, allocations: 21.66 kB / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.54e-05/0.3749, allocations: 19.72 kB / 0.5254 GB, free: 15.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.375, allocations: 44.14 kB / 0.5255 GB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.375, allocations: 4 kB / 0.5255 GB, free: 15.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002255/0.3753, allocations: 110.1 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3753, allocations: 5.5 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3753, allocations: 4.656 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3753, allocations: 0 / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.459e-05/0.3754, allocations: 8.844 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3754, allocations: 1.984 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.3755, allocations: 4.109 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3755, allocations: 1.375 kB / 0.5256 GB, free: 14.95 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 (3): * Single equations (assignments): 3 * 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.0002131/0.3757, allocations: 221.5 kB / 0.5258 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.3758, allocations: 45.62 kB / 0.5259 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.3761, allocations: 133.7 kB / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3761, allocations: 0 / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3761, allocations: 0.75 kB / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3761, allocations: 1.375 kB / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.3765, allocations: 286.5 kB / 0.5263 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3765, allocations: 0 / 0.5263 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.3766, allocations: 13.97 kB / 0.5263 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3766, allocations: 0 / 0.5263 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.3766, allocations: 1.312 kB / 0.5263 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3766, allocations: 4 kB / 0.5263 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3766, allocations: 5.734 kB / 0.5263 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.3769, allocations: 210.8 kB / 0.5265 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.449e-05/0.377, allocations: 114.8 kB / 0.5266 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.377, allocations: 4.953 kB / 0.5266 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/0.3771, allocations: 7.875 kB / 0.5266 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.3771, allocations: 5.281 kB / 0.5266 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.3772, allocations: 1.312 kB / 0.5266 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006845/0.3778, allocations: 0.6512 MB / 0.5272 GB, free: 13.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3779, allocations: 0 / 0.5272 GB, free: 13.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.3781, allocations: 23.38 kB / 0.5273 GB, free: 13.84 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 (3): * Single equations (assignments): 3 * 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.001749/0.3799, allocations: 0.9858 MB / 0.5282 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.3801, allocations: 41.28 kB / 0.5283 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3801, allocations: 4 kB / 0.5283 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.314e-05/0.3802, allocations: 20.83 kB / 0.5283 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.3806, allocations: 24.8 kB / 0.5283 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.3846, allocations: 3.179 MB / 0.5314 GB, free: 10.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.3851, allocations: 0.8266 MB / 0.5322 GB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.014e-05/0.3852, allocations: 23.98 kB / 0.5323 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.3854, allocations: 111.8 kB / 0.5324 GB, free: 10.06 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.3854, allocations: 0 / 0.5324 GB, free: 10.06 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.4151, allocations: 5.811 MB / 0.538 GB, free: 7.105 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.382/8.797, allocations: 9.781 kB / 0.538 GB, free: 7.102 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_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_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches