Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",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.001094/0.001094, 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.00111/0.00111, 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.353/1.353, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2187/0.2187, allocations: 44.18 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.91 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3821, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002678/0.3848, allocations: 1.585 MB / 0.52 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007005/0.3856, allocations: 415.1 kB / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.3856, allocations: 0 / 0.5204 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.3859, allocations: 75.98 kB / 0.5205 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.3861, allocations: 63.75 kB / 0.5205 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.3864, allocations: 111.8 kB / 0.5206 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.3866, allocations: 74.59 kB / 0.5207 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3867, allocations: 23.5 kB / 0.5207 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.453e-05/0.3868, allocations: 34.17 kB / 0.5208 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.3869, allocations: 58.36 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.3869, allocations: 2.781 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.799e-05/0.387, allocations: 39.05 kB / 0.5209 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.3871, allocations: 20.16 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.3871, allocations: 37.38 kB / 0.5209 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.3873, allocations: 96.39 kB / 0.521 GB, free: 1.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3873, allocations: 3.938 kB / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3873, allocations: 1.094 kB / 0.521 GB, free: 1.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3873, allocations: 0 / 0.521 GB, free: 1.688 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.0003995/0.3877, allocations: 417.7 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3878, allocations: 9.531 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.382e-05/0.3878, allocations: 33.61 kB / 0.5214 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.3878, allocations: 14.02 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.388, allocations: 200.9 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.388, allocations: 1.562 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.388, allocations: 11.8 kB / 0.5217 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.3882, allocations: 49.52 kB / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3882, allocations: 0 / 0.5217 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.3882, allocations: 5.25 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3882, allocations: 0.75 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.532e-05/0.3883, allocations: 26 kB / 0.5217 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.3886, allocations: 309.2 kB / 0.522 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.853e-05/0.3887, allocations: 45.48 kB / 0.5221 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.757e-05/0.3888, allocations: 18.66 kB / 0.5221 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3888, allocations: 1.125 kB / 0.5221 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3888, allocations: 32.14 kB / 0.5221 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3888, allocations: 4 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008276/0.3897, allocations: 238.9 kB / 0.5224 GB, free: 488 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.98e-05/0.3897, allocations: 60.34 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.3899, allocations: 202.9 kB / 0.5226 GB, free: 284 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.3899, allocations: 31.23 kB / 0.5226 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.754e-05/0.3899, allocations: 107.4 kB / 0.5227 GB, free: 144 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.39, allocations: 30.12 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.28e-05/0.39, allocations: 20.91 kB / 0.5228 GB, free: 100 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3901, allocations: 322.3 kB / 0.5231 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.524e-05/0.3902, allocations: 30.75 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.75e-05/0.3903, allocations: 25.97 kB / 0.5232 GB, free: 15.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3905, allocations: 80.7 kB / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3905, allocations: 0 / 0.5232 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000223/0.3907, allocations: 121.4 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3907, allocations: 4.531 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3907, allocations: 5.094 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3908, allocations: 0.7969 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.784e-05/0.3909, allocations: 17.41 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3909, allocations: 8.641 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.3909, allocations: 4.312 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.3909, allocations: 3 kB / 0.5234 GB, free: 15.66 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 (8): * Single equations (assignments): 8 * 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.52e-05/0.391, allocations: 127.3 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.3911, allocations: 13.75 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002864/0.3914, allocations: 126.7 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3914, allocations: 1.703 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3914, allocations: 9.562 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3914, allocations: 0.7969 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.3919, allocations: 419.5 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.392, allocations: 3.938 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.583e-05/0.392, allocations: 16.72 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3921, allocations: 5.672 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3921, allocations: 2.25 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3921, allocations: 6.578 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3921, allocations: 0 / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.3924, allocations: 213.6 kB / 0.5243 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.3924, allocations: 88.14 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.3925, allocations: 5.25 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.305e-05/0.3925, allocations: 10.42 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.3926, allocations: 9.219 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3926, allocations: 2.828 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.3927, allocations: 156.5 kB / 0.5246 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3927, allocations: 0 / 0.5246 GB, free: 14.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.393, allocations: 22.95 kB / 0.5246 GB, free: 14.7 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 (8): * Single equations (assignments): 8 * 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.001574/0.3946, allocations: 1.11 MB / 0.5257 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.3949, allocations: 72.28 kB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3949, allocations: 0 / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.395, allocations: 41.69 kB / 0.5258 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.3954, allocations: 14.78 kB / 0.5258 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.3974, allocations: 1.684 MB / 0.5274 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.3977, allocations: 0.713 MB / 0.5281 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.14e-05/0.3978, allocations: 16.05 kB / 0.5281 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.3978, allocations: 34.62 kB / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3978, allocations: 4 kB / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.4205, allocations: 3.064 MB / 0.5312 GB, free: 10.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.653/8.074, allocations: 13.14 kB / 0.5312 GB, free: 10.38 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches