Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",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.001852/0.001852, allocations: 112.8 kB / 17.78 MB, free: 5.281 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.002116/0.002117, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.461/1.461, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2247/0.2247, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3487, allocations: 60.83 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002874/0.3516, allocations: 1.614 MB / 0.52 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006948/0.3523, allocations: 411.9 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.3524, allocations: 1.312 kB / 0.5204 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.3527, allocations: 88.23 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.3529, allocations: 76.08 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.3532, allocations: 91.03 kB / 0.5207 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.3534, allocations: 94.02 kB / 0.5208 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.3535, allocations: 23 kB / 0.5208 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.388e-05/0.3536, allocations: 37.31 kB / 0.5208 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3537, allocations: 60.11 kB / 0.5209 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.3538, allocations: 4.812 kB / 0.5209 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.3539, allocations: 44.02 kB / 0.5209 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.354, allocations: 30 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.354, allocations: 32.94 kB / 0.521 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.3543, allocations: 126.3 kB / 0.5211 GB, free: 1.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3543, allocations: 3.938 kB / 0.5211 GB, free: 1.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3543, allocations: 4 kB / 0.5211 GB, free: 1.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.3543, allocations: 5.406 kB / 0.5211 GB, free: 1.605 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004398/0.3548, allocations: 426.9 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.3548, allocations: 9.547 kB / 0.5215 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.068e-05/0.3548, allocations: 34.62 kB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.536e-05/0.3549, allocations: 14.72 kB / 0.5216 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3551, allocations: 217.3 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3551, allocations: 1.719 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.3551, allocations: 8.875 kB / 0.5218 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3553, allocations: 75.17 kB / 0.5219 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3553, allocations: 0 / 0.5219 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3553, allocations: 5.594 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3553, allocations: 1.25 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.3555, allocations: 43.39 kB / 0.5219 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.3558, allocations: 323.4 kB / 0.5222 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.356, allocations: 67.75 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.3561, allocations: 22.53 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.3561, allocations: 1.688 kB / 0.5223 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.3561, allocations: 36.58 kB / 0.5223 GB, free: 452 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3561, allocations: 0 / 0.5223 GB, free: 452 kB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001026/0.3572, allocations: 303.1 kB / 0.5226 GB, free: 328 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.3572, allocations: 58.14 kB / 0.5227 GB, free: 260 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.3574, allocations: 231.9 kB / 0.5229 GB, free: 116 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.3574, allocations: 27.5 kB / 0.5229 GB, free: 84 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.3575, allocations: 109.8 kB / 0.523 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.3576, allocations: 53.28 kB / 0.5231 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.3576, allocations: 31.75 kB / 0.5231 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3578, allocations: 324.1 kB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.3579, allocations: 33.62 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.656e-05/0.358, allocations: 42.52 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002009/0.3582, allocations: 89.8 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3582, allocations: 5.469 kB / 0.5236 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000277/0.3585, allocations: 133.7 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3585, allocations: 6.438 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3586, allocations: 112 / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.3586, allocations: 8.391 kB / 0.5237 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3587, allocations: 33.53 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3587, allocations: 1.062 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.3588, allocations: 9.078 kB / 0.5238 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.3588, allocations: 7.438 kB / 0.5238 GB, free: 15.44 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 (13): * Single equations (assignments): 13 * 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.0001153/0.3589, allocations: 131.1 kB / 0.5239 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.002e-05/0.359, allocations: 14.12 kB / 0.5239 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.3593, allocations: 167.6 kB / 0.5241 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3593, allocations: 5.812 kB / 0.5241 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3594, allocations: 0 / 0.5241 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3594, allocations: 0.6562 kB / 0.5241 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006546/0.36, allocations: 481.5 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.36, allocations: 0 / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.608e-05/0.3601, allocations: 25.5 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3601, allocations: 1.25 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.3602, allocations: 6.094 kB / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3602, allocations: 2.344 kB / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3602, allocations: 0.9375 kB / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.3605, allocations: 251.9 kB / 0.5248 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.3605, allocations: 89.2 kB / 0.5249 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3606, allocations: 2.297 kB / 0.5249 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.3606, allocations: 9.141 kB / 0.5249 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.3607, allocations: 8.75 kB / 0.5249 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3607, allocations: 8.344 kB / 0.5249 GB, free: 14.53 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.3609, allocations: 170.6 kB / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3609, allocations: 0 / 0.5251 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.3611, allocations: 22.95 kB / 0.5251 GB, free: 14.43 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 (13): * Single equations (assignments): 13 * 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.002133/0.3633, allocations: 1.126 MB / 0.5262 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.3635, allocations: 110 kB / 0.5263 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3636, allocations: 0 / 0.5263 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.3637, allocations: 56.2 kB / 0.5264 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.364, allocations: 25.02 kB / 0.5264 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.3661, allocations: 1.809 MB / 0.5282 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3665, allocations: 0.7215 MB / 0.5289 GB, free: 11.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.497e-05/0.3666, allocations: 16.72 kB / 0.5289 GB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.3666, allocations: 40.39 kB / 0.5289 GB, free: 11.4 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3666, allocations: 0 / 0.5289 GB, free: 11.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.3902, allocations: 3.434 MB / 0.5323 GB, free: 9.809 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.939/8.33, allocations: 5.406 kB / 0.5323 GB, free: 9.805 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_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_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches