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.00169/0.00169, 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.002016/0.002016, allocations: 185 kB / 18.72 MB, free: 4.336 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.453/1.453, 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.2524/0.2524, allocations: 44.19 MB / 336.8 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 59.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3914, allocations: 60.82 MB / 0.5185 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002881/0.3943, allocations: 1.592 MB / 0.52 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006538/0.395, allocations: 414 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.237e-05/0.3951, allocations: 1.094 kB / 0.5204 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.3953, allocations: 72.25 kB / 0.5205 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.3956, allocations: 67.81 kB / 0.5205 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002757/0.3959, allocations: 110.9 kB / 0.5206 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.396, allocations: 79.22 kB / 0.5207 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.3961, allocations: 18.94 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.807e-05/0.3962, allocations: 37.27 kB / 0.5208 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.3963, allocations: 50.03 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3963, allocations: 3.438 kB / 0.5208 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.501e-05/0.3964, allocations: 47.02 kB / 0.5209 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.3965, allocations: 19.27 kB / 0.5209 GB, free: 1.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.3965, allocations: 31.08 kB / 0.5209 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.3967, allocations: 103 kB / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3967, allocations: 1 kB / 0.521 GB, free: 1.684 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3967, allocations: 3.938 kB / 0.521 GB, free: 1.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3967, allocations: 0 / 0.521 GB, free: 1.68 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.0004125/0.3972, allocations: 408.5 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3972, allocations: 9.781 kB / 0.5214 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.3972, allocations: 36.75 kB / 0.5215 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.3973, allocations: 9.391 kB / 0.5215 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.3974, allocations: 202.5 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.3974, allocations: 1.438 kB / 0.5217 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.3975, allocations: 6.312 kB / 0.5217 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.3976, allocations: 57.33 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3976, allocations: 1.062 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3976, allocations: 0 / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3977, allocations: 1.609 kB / 0.5217 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.3978, allocations: 26.55 kB / 0.5217 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.3981, allocations: 304.3 kB / 0.522 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.3982, allocations: 44.77 kB / 0.5221 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.3983, allocations: 24.41 kB / 0.5221 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.3983, allocations: 0.7031 kB / 0.5221 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.3983, allocations: 31.81 kB / 0.5221 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.3984, allocations: 4 kB / 0.5221 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008521/0.3992, allocations: 243.4 kB / 0.5224 GB, free: 484 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.3993, allocations: 65.05 kB / 0.5224 GB, free: 408 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.3994, allocations: 206.2 kB / 0.5226 GB, free: 272 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.3994, allocations: 29.7 kB / 0.5227 GB, free: 236 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.3995, allocations: 105.2 kB / 0.5228 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.3995, allocations: 29.09 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.3996, allocations: 20.58 kB / 0.5228 GB, free: 92 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3997, allocations: 323.3 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.815e-05/0.3998, allocations: 29.06 kB / 0.5231 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.3999, allocations: 35.73 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.4001, allocations: 74.91 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4001, allocations: 1.219 kB / 0.5232 GB, free: 15.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002272/0.4003, allocations: 108.8 kB / 0.5233 GB, free: 15.67 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4004, allocations: 5.391 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4004, allocations: 1.5 kB / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.4004, allocations: 0 / 0.5234 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.4005, allocations: 24.89 kB / 0.5234 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4005, allocations: 9.094 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.33e-05/0.4006, allocations: 5.281 kB / 0.5234 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.4006, allocations: 1.344 kB / 0.5234 GB, free: 15.65 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 0.0001048/0.4007, allocations: 129.2 kB / 0.5235 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.4007, allocations: 12.38 kB / 0.5235 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002901/0.401, allocations: 127.8 kB / 0.5236 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.401, allocations: 1.094 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.401, allocations: 7.938 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4011, allocations: 0.6562 kB / 0.5237 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005617/0.4016, allocations: 417.2 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4016, allocations: 7.875 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.709e-05/0.4017, allocations: 16.77 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.4017, allocations: 2.25 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.4017, allocations: 1.438 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4017, allocations: 5.375 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4018, allocations: 0 / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.402, allocations: 205.7 kB / 0.5243 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.4021, allocations: 97.95 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.4021, allocations: 2.438 kB / 0.5244 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.862e-05/0.4022, allocations: 11.2 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.4023, allocations: 6.953 kB / 0.5244 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.4023, allocations: 6.281 kB / 0.5244 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001613/0.4024, allocations: 155.5 kB / 0.5246 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4025, allocations: 1.031 kB / 0.5246 GB, free: 14.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.4027, allocations: 24.12 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.002201/0.4049, allocations: 1.096 MB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.4052, allocations: 72.5 kB / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4052, allocations: 0 / 0.5257 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.4053, allocations: 41.61 kB / 0.5258 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004031/0.4057, allocations: 24.25 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.002056/0.4078, 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.000375/0.4082, allocations: 0.7092 MB / 0.5281 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.663e-05/0.4083, allocations: 16.88 kB / 0.5281 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.975e-05/0.4083, allocations: 32.36 kB / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4083, allocations: 4 kB / 0.5282 GB, free: 11.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.4332, allocations: 3.079 MB / 0.5312 GB, free: 10.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.296, allocations: 9.891 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