Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test8",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.001795/0.001795, allocations: 117.2 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.001896/0.001896, allocations: 185 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.446/1.446, 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.2231/0.2231, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002572/0.002572, allocations: 71.88 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3821, allocations: 60.81 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test8): time 0.00264/0.3848, allocations: 1.577 MB / 0.52 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006699/0.3855, allocations: 400.7 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.547e-05/0.3855, allocations: 0 / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.3862, allocations: 454.2 kB / 0.5208 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.3866, allocations: 249.3 kB / 0.521 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.387, allocations: 124.9 kB / 0.5212 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.3872, allocations: 155.6 kB / 0.5213 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.913e-05/0.3873, allocations: 11.55 kB / 0.5213 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.3875, allocations: 110.2 kB / 0.5214 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002435/0.3877, allocations: 205.5 kB / 0.5216 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.3878, allocations: 2.312 kB / 0.5216 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.041e-05/0.3878, allocations: 23.02 kB / 0.5216 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.3879, allocations: 77.06 kB / 0.5217 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.127e-05/0.388, allocations: 107.6 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.3883, allocations: 241.9 kB / 0.522 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3883, allocations: 1.094 kB / 0.522 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3883, allocations: 0 / 0.522 GB, free: 1.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.3883, allocations: 0 / 0.522 GB, free: 1.535 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.0006446/0.389, allocations: 0.6427 MB / 0.5227 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.389, allocations: 9.547 kB / 0.5227 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.47e-05/0.3891, allocations: 32.67 kB / 0.5227 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.3891, allocations: 51.45 kB / 0.5228 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.3894, allocations: 301.5 kB / 0.523 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3894, allocations: 2.375 kB / 0.5231 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3894, allocations: 6.125 kB / 0.5231 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.3895, allocations: 47.78 kB / 0.5231 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3895, allocations: 0 / 0.5231 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.3896, allocations: 4 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3896, allocations: 2.125 kB / 0.5231 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.11e-05/0.3897, allocations: 23.39 kB / 0.5231 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.3901, allocations: 382.1 kB / 0.5235 GB, free: 236 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.855e-05/0.3901, allocations: 29.86 kB / 0.5235 GB, free: 208 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.3902, allocations: 19.8 kB / 0.5235 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3902, allocations: 1.25 kB / 0.5235 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.3902, allocations: 41.03 kB / 0.5236 GB, free: 144 kB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3903, allocations: 0 / 0.5236 GB, free: 144 kB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002479/0.3905, allocations: 94.25 kB / 0.5237 GB, free: 84 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.3905, allocations: 53.45 kB / 0.5237 GB, free: 20 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009286/0.3915, allocations: 0.8627 MB / 0.5246 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3915, allocations: 25.7 kB / 0.5246 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.3917, allocations: 219.2 kB / 0.5248 GB, free: 15.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.3917, allocations: 13.94 kB / 0.5248 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.3918, allocations: 16.5 kB / 0.5248 GB, free: 15.46 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.392, allocations: 365.7 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.209e-05/0.392, allocations: 5.922 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.553e-05/0.392, allocations: 7.438 kB / 0.5252 GB, free: 15.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.603e-05/0.3921, allocations: 28.45 kB / 0.5252 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3921, allocations: 0 / 0.5252 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001551/0.3923, allocations: 97.3 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3923, allocations: 5.391 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3923, allocations: 1.188 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3923, allocations: 0 / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.3924, allocations: 6.453 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3924, allocations: 0.5625 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.3925, allocations: 3.203 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3925, allocations: 1.219 kB / 0.5253 GB, free: 15.04 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 (2): * Single equations (assignments): 2 * 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.0002025/0.3927, allocations: 219.3 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.3928, allocations: 41.25 kB / 0.5256 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.393, allocations: 111.3 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.393, allocations: 1.188 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.393, allocations: 0.5625 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.393, allocations: 1.625 kB / 0.5257 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.3933, allocations: 285 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.3934, allocations: 0.6094 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.232e-05/0.3934, allocations: 6.438 kB / 0.526 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3934, allocations: 4 kB / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.3934, allocations: 2.203 kB / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3934, allocations: 3.938 kB / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3934, allocations: 0 / 0.526 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.3936, allocations: 189.5 kB / 0.5262 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-05/0.3937, allocations: 116.5 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.3938, allocations: 5.406 kB / 0.5263 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.3939, allocations: 6.781 kB / 0.5263 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.3939, allocations: 1.938 kB / 0.5263 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3939, allocations: 2.125 kB / 0.5263 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006528/0.3946, allocations: 0.6504 MB / 0.5269 GB, free: 14.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3946, allocations: 0 / 0.5269 GB, free: 14.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.3948, allocations: 19.16 kB / 0.5269 GB, free: 14.03 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 (2): * Single equations (assignments): 2 * 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.001583/0.3964, allocations: 0.9628 MB / 0.5279 GB, free: 13.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.3965, allocations: 26.14 kB / 0.5279 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3966, allocations: 0 / 0.5279 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.098e-05/0.3966, allocations: 10.89 kB / 0.5279 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.397, allocations: 31.92 kB / 0.5279 GB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.4005, allocations: 3.121 MB / 0.531 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.401, allocations: 0.8203 MB / 0.5318 GB, free: 10.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.842e-05/0.4011, allocations: 19.58 kB / 0.5318 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.4012, allocations: 103.5 kB / 0.5319 GB, free: 10.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4012, allocations: 0 / 0.5319 GB, free: 10.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.4292, allocations: 5.685 MB / 0.5375 GB, free: 7.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.56/8.989, allocations: 11.94 kB / 0.5375 GB, free: 7.418 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_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_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches