Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001867/0.001867, 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.001951/0.001952, allocations: 183.1 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.435/1.435, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2189/0.2189, allocations: 44.18 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001898, allocations: 67.89 kB / 470.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3846, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002826/0.3875, allocations: 1.561 MB / 0.52 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006775/0.3882, allocations: 409.6 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.3882, allocations: 1.438 kB / 0.5204 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002162/0.3885, allocations: 28.64 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.3887, allocations: 45.39 kB / 0.5204 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.389, allocations: 106.9 kB / 0.5205 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.3891, allocations: 59.03 kB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3892, allocations: 8.281 kB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.82e-05/0.3893, allocations: 18.8 kB / 0.5206 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.3894, allocations: 28.91 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.3894, allocations: 2.5 kB / 0.5206 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.821e-05/0.3895, allocations: 29.55 kB / 0.5207 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.3896, allocations: 14.92 kB / 0.5207 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.3896, allocations: 26.36 kB / 0.5207 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.3898, allocations: 80.28 kB / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3898, allocations: 0 / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3898, allocations: 3.938 kB / 0.5208 GB, free: 1.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3898, allocations: 1.094 kB / 0.5208 GB, free: 1.734 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.0004461/0.3903, allocations: 386.7 kB / 0.5212 GB, free: 1.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3903, allocations: 9.594 kB / 0.5212 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.3904, allocations: 36.66 kB / 0.5212 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.3904, allocations: 12.38 kB / 0.5212 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.3906, allocations: 192 kB / 0.5214 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3906, allocations: 1.625 kB / 0.5214 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.3906, allocations: 5.531 kB / 0.5214 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.3908, allocations: 50.89 kB / 0.5215 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.3908, allocations: 3.938 kB / 0.5215 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.3908, allocations: 7.938 kB / 0.5215 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3908, allocations: 2.297 kB / 0.5215 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.65e-05/0.3909, allocations: 22 kB / 0.5215 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.3912, allocations: 281.6 kB / 0.5218 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.3915, allocations: 50.67 kB / 0.5218 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.3915, allocations: 18.89 kB / 0.5218 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.3916, allocations: 0.9375 kB / 0.5218 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.492e-05/0.3916, allocations: 36.42 kB / 0.5219 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.3916, allocations: 0 / 0.5219 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005469/0.3921, allocations: 151 kB / 0.522 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.3922, allocations: 52.66 kB / 0.5221 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3923, allocations: 169.9 kB / 0.5222 GB, free: 404 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.3923, allocations: 26.8 kB / 0.5222 GB, free: 372 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.3924, allocations: 98.97 kB / 0.5223 GB, free: 276 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.3924, allocations: 15.33 kB / 0.5223 GB, free: 264 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.3924, allocations: 14.7 kB / 0.5224 GB, free: 248 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.3925, allocations: 324.1 kB / 0.5227 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.618e-05/0.3926, allocations: 20.62 kB / 0.5227 GB, free: 15.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.976e-05/0.3927, allocations: 25.92 kB / 0.5227 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3929, allocations: 54.83 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3929, allocations: 1.125 kB / 0.5228 GB, free: 15.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002069/0.3931, allocations: 88.5 kB / 0.5229 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3931, allocations: 5.844 kB / 0.5229 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3931, allocations: 0.7031 kB / 0.5229 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3931, allocations: 1.469 kB / 0.5229 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.3932, allocations: 14.91 kB / 0.5229 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.3932, allocations: 2.203 kB / 0.5229 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.894e-05/0.3933, allocations: 8.219 kB / 0.5229 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.3933, allocations: 6.234 kB / 0.5229 GB, free: 15.82 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 (5): * Single equations (assignments): 5 * 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.0001249/0.3934, allocations: 123 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.3935, allocations: 6.859 kB / 0.523 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.3937, allocations: 102.8 kB / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3937, allocations: 1.156 kB / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3937, allocations: 1.828 kB / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3938, allocations: 0 / 0.5231 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.3943, allocations: 355.1 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3943, allocations: 0 / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.3943, allocations: 16.12 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3944, allocations: 1.828 kB / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3944, allocations: 0 / 0.5235 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3944, allocations: 9.344 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/0.3944, allocations: 4.562 kB / 0.5235 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.3946, allocations: 181.2 kB / 0.5237 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.3947, allocations: 85.25 kB / 0.5237 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3947, allocations: 4 kB / 0.5237 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.3948, allocations: 8.641 kB / 0.5238 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.3949, allocations: 8.922 kB / 0.5238 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.3949, allocations: 5.203 kB / 0.5238 GB, free: 15.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.395, allocations: 129.1 kB / 0.5239 GB, free: 14.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.395, allocations: 0 / 0.5239 GB, free: 14.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.3953, allocations: 19.39 kB / 0.5239 GB, free: 14.93 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 (5): * Single equations (assignments): 5 * 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.00194/0.3972, allocations: 1.01 MB / 0.5249 GB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000278/0.3975, allocations: 52.45 kB / 0.5249 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3975, allocations: 0 / 0.5249 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.3976, allocations: 29.78 kB / 0.525 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.398, allocations: 24.06 kB / 0.525 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.4, allocations: 1.498 MB / 0.5265 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.4004, allocations: 0.6958 MB / 0.5271 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.408e-05/0.4005, allocations: 10.2 kB / 0.5271 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.4006, allocations: 27.56 kB / 0.5272 GB, free: 12.12 MB / 398.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4006, allocations: 0 / 0.5272 GB, free: 12.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02491/0.4255, allocations: 2.588 MB / 0.5297 GB, free: 11.14 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/8.388, allocations: 13.88 kB / 0.5297 GB, free: 11.13 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches