Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24",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.001423/0.001423, allocations: 106.4 kB / 17.77 MB, free: 5.273 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.001891/0.001891, allocations: 187.9 kB / 18.71 MB, free: 4.348 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.449/1.449, 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.2278/0.2278, allocations: 44.19 MB / 336.8 MB, free: 2.625 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4522, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.0028/0.455, allocations: 1.644 MB / 0.5201 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006838/0.4557, allocations: 424 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.842e-05/0.4558, allocations: 1.031 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.456, allocations: 51.44 kB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.4561, allocations: 48.75 kB / 0.5206 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.4564, allocations: 135.2 kB / 0.5207 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.4566, allocations: 70.14 kB / 0.5207 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.065e-05/0.4566, allocations: 31.78 kB / 0.5208 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.803e-05/0.4567, allocations: 24.91 kB / 0.5208 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.4568, allocations: 43.62 kB / 0.5208 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.4568, allocations: 7.75 kB / 0.5209 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.735e-05/0.4569, allocations: 56.64 kB / 0.5209 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.4569, allocations: 15.2 kB / 0.5209 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.457, allocations: 31.62 kB / 0.5209 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.4572, allocations: 107.5 kB / 0.5211 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4572, allocations: 1.219 kB / 0.5211 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4572, allocations: 4 kB / 0.5211 GB, free: 1.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.4572, allocations: 0 / 0.5211 GB, free: 1.578 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.0003593/0.4576, allocations: 409.9 kB / 0.5214 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.4576, allocations: 9.812 kB / 0.5215 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.205e-05/0.4576, allocations: 32.69 kB / 0.5215 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.4577, allocations: 14.64 kB / 0.5215 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.4578, allocations: 196.4 kB / 0.5217 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.4578, allocations: 9.312 kB / 0.5217 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.4578, allocations: 3.281 kB / 0.5217 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.458, allocations: 68.12 kB / 0.5218 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.458, allocations: 7.844 kB / 0.5218 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.458, allocations: 1.219 kB / 0.5218 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.458, allocations: 1.031 kB / 0.5218 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.4582, allocations: 39.39 kB / 0.5218 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.4584, allocations: 295.6 kB / 0.5221 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001782/0.4586, allocations: 62.03 kB / 0.5222 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.277e-05/0.4587, allocations: 25.88 kB / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.4587, allocations: 0 / 0.5222 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.105e-05/0.4587, allocations: 32.47 kB / 0.5222 GB, free: 480 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.4588, allocations: 0 / 0.5222 GB, free: 480 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001333/0.4601, allocations: 393.7 kB / 0.5226 GB, free: 352 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.4601, allocations: 53.47 kB / 0.5226 GB, free: 288 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.4603, allocations: 170.9 kB / 0.5228 GB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.4603, allocations: 25.7 kB / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.757e-05/0.4603, allocations: 99.44 kB / 0.5229 GB, free: 32 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.4604, allocations: 47.88 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.663e-05/0.4604, allocations: 26.89 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4606, allocations: 321.2 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.4607, allocations: 40.08 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.4609, allocations: 47.91 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002529/0.4611, allocations: 102 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.4611, allocations: 3.938 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003301/0.4615, allocations: 142.1 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.4615, allocations: 5.016 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.4615, allocations: 1.312 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.4615, allocations: 3.938 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.4616, allocations: 29.14 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.4617, allocations: 1.719 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.305e-05/0.4617, allocations: 8.812 kB / 0.5237 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.4617, allocations: 8.375 kB / 0.5237 GB, free: 15.51 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 9.949e-05/0.4618, allocations: 119.2 kB / 0.5238 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.4619, allocations: 16.88 kB / 0.5238 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004178/0.4623, allocations: 165.1 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.4623, allocations: 1.938 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.4623, allocations: 0 / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4623, allocations: 1.812 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006949/0.463, allocations: 465.8 kB / 0.5244 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.4631, allocations: 5.281 kB / 0.5244 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.4632, allocations: 26.2 kB / 0.5244 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4632, allocations: 0.5625 kB / 0.5244 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.4632, allocations: 9.688 kB / 0.5244 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4632, allocations: 2.922 kB / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4632, allocations: 0 / 0.5245 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.4636, allocations: 257.3 kB / 0.5247 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.4637, allocations: 90.58 kB / 0.5248 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.4637, allocations: 6.562 kB / 0.5248 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.4638, allocations: 13.3 kB / 0.5248 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.4638, allocations: 17.06 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.4639, allocations: 4 kB / 0.5248 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.464, allocations: 135.7 kB / 0.525 GB, free: 14.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.464, allocations: 0 / 0.525 GB, free: 14.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.4643, allocations: 27.45 kB / 0.525 GB, free: 14.5 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.001561/0.4658, allocations: 1.13 MB / 0.5261 GB, free: 13.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003148/0.4661, allocations: 112 kB / 0.5262 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.4662, allocations: 0 / 0.5262 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.4663, allocations: 59.84 kB / 0.5262 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.4667, allocations: 23.14 kB / 0.5263 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.4689, allocations: 1.754 MB / 0.528 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.4692, allocations: 0.7074 MB / 0.5287 GB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.977e-05/0.4693, allocations: 15.14 kB / 0.5287 GB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.128e-05/0.4694, allocations: 38.09 kB / 0.5287 GB, free: 11.48 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4694, allocations: 3.938 kB / 0.5287 GB, free: 11.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.489, allocations: 3.272 MB / 0.5319 GB, free: 9.914 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/8.019, allocations: 9.094 kB / 0.5319 GB, free: 9.91 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches