Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.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.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test26,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26",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.001746/0.001746, allocations: 114.5 kB / 17.78 MB, free: 5.262 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.001936/0.001936, allocations: 187.7 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.457/1.457, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2171/0.2171, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3677, allocations: 60.81 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test26): time 0.002896/0.3706, allocations: 1.649 MB / 0.5201 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007272/0.3714, allocations: 447.8 kB / 0.5205 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.454e-05/0.3715, allocations: 1.438 kB / 0.5205 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.3717, allocations: 55.98 kB / 0.5205 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.372, allocations: 56.92 kB / 0.5206 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000425/0.3724, allocations: 179.6 kB / 0.5208 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001668/0.3726, allocations: 78.97 kB / 0.5208 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3727, allocations: 25.31 kB / 0.5209 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.3728, allocations: 34.06 kB / 0.5209 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.3729, allocations: 39.94 kB / 0.5209 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3729, allocations: 2.781 kB / 0.5209 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.373, allocations: 60.58 kB / 0.521 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.3731, allocations: 20.98 kB / 0.521 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.3731, allocations: 32.42 kB / 0.521 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3734, allocations: 117.7 kB / 0.5212 GB, free: 1.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3734, allocations: 4 kB / 0.5212 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3734, allocations: 0 / 0.5212 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.3734, allocations: 1.344 kB / 0.5212 GB, free: 1.543 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004538/0.3739, allocations: 411.5 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.3739, allocations: 8.906 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.732e-05/0.3739, allocations: 34.42 kB / 0.5216 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.395e-05/0.374, allocations: 13.31 kB / 0.5216 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.3741, allocations: 201.1 kB / 0.5218 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3741, allocations: 14.22 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.3742, allocations: 2.688 kB / 0.5218 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3744, allocations: 66.39 kB / 0.5219 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3744, allocations: 5.25 kB / 0.5219 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3744, allocations: 4 kB / 0.5219 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3744, allocations: 1.031 kB / 0.5219 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.3746, allocations: 42.84 kB / 0.5219 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.3749, allocations: 329.2 kB / 0.5222 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002379/0.3752, allocations: 55.97 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.766e-05/0.3753, allocations: 31.47 kB / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.3753, allocations: 0 / 0.5223 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.431e-05/0.3753, allocations: 40.48 kB / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.3753, allocations: 0 / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00148/0.3768, allocations: 425.6 kB / 0.5228 GB, free: 284 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.3769, allocations: 55.12 kB / 0.5228 GB, free: 220 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.377, allocations: 184.6 kB / 0.523 GB, free: 92 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.377, allocations: 33.7 kB / 0.523 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.3771, allocations: 104.6 kB / 0.5231 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.3772, allocations: 35.88 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.3772, allocations: 27.45 kB / 0.5232 GB, free: 15.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3774, allocations: 322 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.3775, allocations: 51.06 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.3777, allocations: 64.27 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.378, allocations: 123.3 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.378, allocations: 3.938 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003557/0.3783, allocations: 158.7 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3784, allocations: 8.438 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3784, allocations: 4.703 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3784, allocations: 7.875 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.3785, allocations: 26.62 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3785, allocations: 0 / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.3786, allocations: 17.03 kB / 0.5239 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.3786, allocations: 3.469 kB / 0.524 GB, free: 15.42 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 (11): * Single equations (assignments): 11 * 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.0001061/0.3787, allocations: 132.3 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.3788, allocations: 13.48 kB / 0.5241 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.3792, allocations: 192.3 kB / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3792, allocations: 5.719 kB / 0.5243 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.3792, allocations: 4.641 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3792, allocations: 0.7969 kB / 0.5243 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.3799, allocations: 0.4985 MB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.38, allocations: 4 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.3801, allocations: 32.66 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.3801, allocations: 1.375 kB / 0.5248 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3801, allocations: 6.016 kB / 0.5248 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3801, allocations: 1.375 kB / 0.5248 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3801, allocations: 1.375 kB / 0.5248 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.3805, allocations: 267.7 kB / 0.5251 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.3806, allocations: 90.56 kB / 0.5252 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.3806, allocations: 6.172 kB / 0.5252 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.3807, allocations: 13.25 kB / 0.5252 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.3808, allocations: 17.64 kB / 0.5252 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-06/0.3808, allocations: 2.719 kB / 0.5252 GB, free: 14.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000131/0.3809, allocations: 141.4 kB / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3809, allocations: 0 / 0.5253 GB, free: 14.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.3812, allocations: 24.62 kB / 0.5254 GB, free: 14.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002225/0.3834, allocations: 1.164 MB / 0.5265 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000358/0.3838, allocations: 131.5 kB / 0.5266 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3838, allocations: 0 / 0.5266 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.384, allocations: 70.44 kB / 0.5267 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.3844, allocations: 25.8 kB / 0.5267 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002373/0.3868, allocations: 1.872 MB / 0.5285 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.3872, allocations: 0.7146 MB / 0.5292 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.3873, allocations: 34.67 kB / 0.5293 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.021e-05/0.3874, allocations: 38.34 kB / 0.5293 GB, free: 11.3 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3874, allocations: 1.375 kB / 0.5293 GB, free: 11.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.4147, allocations: 3.44 MB / 0.5327 GB, free: 9.555 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.292, allocations: 17.55 kB / 0.5327 GB, free: 9.543 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test26.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches