Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.001731/0.001731, allocations: 113.8 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.001918/0.001918, 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.409/1.409, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2199/0.2199, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 71.88 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3553, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002798/0.3582, allocations: 1.632 MB / 0.52 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.3596, allocations: 1.057 MB / 0.5211 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.3596, allocations: 0 / 0.5211 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.3599, allocations: 20.88 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.3601, allocations: 45.95 kB / 0.5211 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.3604, allocations: 175 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.3606, allocations: 69.02 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.3607, allocations: 28.23 kB / 0.5214 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.498e-05/0.3608, allocations: 20.59 kB / 0.5214 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.3609, allocations: 36.09 kB / 0.5214 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3609, allocations: 4.969 kB / 0.5215 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.361, allocations: 47.3 kB / 0.5215 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.3611, allocations: 20.47 kB / 0.5215 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.3611, allocations: 31.42 kB / 0.5215 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.3613, allocations: 98.48 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3613, allocations: 4.656 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3613, allocations: 1.094 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3613, allocations: 0 / 0.5216 GB, free: 1.137 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.0004335/0.3618, allocations: 409.8 kB / 0.522 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3618, allocations: 10.25 kB / 0.522 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.578e-05/0.3619, allocations: 32.88 kB / 0.5221 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.3619, allocations: 7.891 kB / 0.5221 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3621, allocations: 189.9 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3621, allocations: 1.75 kB / 0.5223 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3621, allocations: 10.55 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3623, allocations: 80.95 kB / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3623, allocations: 0 / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3623, allocations: 5.125 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3623, allocations: 1.75 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.3625, allocations: 35.25 kB / 0.5224 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003471/0.3628, allocations: 309.5 kB / 0.5227 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.363, allocations: 48.23 kB / 0.5227 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.011e-05/0.3631, allocations: 25.64 kB / 0.5228 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.3631, allocations: 4 kB / 0.5228 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.3631, allocations: 36.61 kB / 0.5228 GB, free: 16 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3631, allocations: 0 / 0.5228 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007982/0.3639, allocations: 223.2 kB / 0.523 GB, free: 15.93 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.364, allocations: 78.23 kB / 0.5231 GB, free: 15.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3641, allocations: 150.2 kB / 0.5232 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3642, allocations: 25.7 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.3642, allocations: 93.34 kB / 0.5233 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.3643, allocations: 25.11 kB / 0.5234 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.3643, allocations: 22.25 kB / 0.5234 GB, free: 15.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3645, allocations: 318.9 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.3646, allocations: 38.06 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3647, allocations: 55.88 kB / 0.5238 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.365, allocations: 92.34 kB / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.365, allocations: 0 / 0.5239 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000307/0.3653, allocations: 128.3 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3653, allocations: 11.75 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3653, allocations: 0 / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3653, allocations: 1.969 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3655, allocations: 18.58 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3655, allocations: 9.344 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.3655, allocations: 9.891 kB / 0.524 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3656, allocations: 1.469 kB / 0.524 GB, free: 15.1 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 9.573e-05/0.3657, allocations: 125.8 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.3657, allocations: 7.922 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.3661, allocations: 141.5 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3661, allocations: 1.625 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.3661, allocations: 3.938 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3661, allocations: 2.141 kB / 0.5243 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/0.3667, allocations: 418.6 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3667, allocations: 1.344 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.925e-05/0.3668, allocations: 18.81 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.3668, allocations: 3.938 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3668, allocations: 1.609 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3668, allocations: 1.062 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3668, allocations: 0 / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.3672, allocations: 222.4 kB / 0.5249 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.3672, allocations: 87.14 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3673, allocations: 7.938 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.386e-05/0.3674, allocations: 10.25 kB / 0.525 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.3674, allocations: 10.31 kB / 0.5251 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.3674, allocations: 2.484 kB / 0.5251 GB, free: 14.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.509e-05/0.3675, allocations: 110.1 kB / 0.5252 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3675, allocations: 0 / 0.5252 GB, free: 14.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.3678, allocations: 32.23 kB / 0.5252 GB, free: 14.18 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.002045/0.3699, allocations: 1.097 MB / 0.5263 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.3702, allocations: 98.55 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3702, allocations: 1.562 kB / 0.5264 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.3704, allocations: 45.56 kB / 0.5264 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3707, allocations: 21.97 kB / 0.5264 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.3728, allocations: 1.589 MB / 0.528 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3731, allocations: 0.7009 MB / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.434e-05/0.3732, allocations: 26.27 kB / 0.5287 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.3733, allocations: 26.16 kB / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3733, allocations: 0 / 0.5287 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.399, allocations: 3.141 MB / 0.5318 GB, free: 9.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.947/8.346, allocations: 17.27 kB / 0.5318 GB, free: 9.727 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches