Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",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.001021/0.001021, allocations: 114.4 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.0009871/0.0009871, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.383/1.383, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2223/0.2223, allocations: 44.18 MB / 336.7 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 75.81 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4456, allocations: 60.81 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003885/0.4495, allocations: 1.965 MB / 0.5203 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001699/0.4512, allocations: 1.029 MB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.4514, allocations: 2.406 kB / 0.5214 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.4516, allocations: 42.3 kB / 0.5214 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.452, allocations: 152.7 kB / 0.5215 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000932/0.453, allocations: 417 kB / 0.5219 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000389/0.4534, allocations: 251.2 kB / 0.5222 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.4535, allocations: 61.61 kB / 0.5222 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.4538, allocations: 118.2 kB / 0.5224 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.4541, allocations: 182.3 kB / 0.5225 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.698e-05/0.4541, allocations: 11.84 kB / 0.5225 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.4543, allocations: 56.23 kB / 0.5226 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.4545, allocations: 136.2 kB / 0.5227 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.4546, allocations: 160.4 kB / 0.5229 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000509/0.4552, allocations: 379.3 kB / 0.5232 GB, free: 368 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4552, allocations: 0.75 kB / 0.5232 GB, free: 368 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4552, allocations: 1.031 kB / 0.5232 GB, free: 368 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.4552, allocations: 0 / 0.5232 GB, free: 368 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001131/0.4563, allocations: 0.7681 MB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4564, allocations: 8.969 kB / 0.524 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.716e-05/0.4564, allocations: 44.58 kB / 0.524 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.4565, allocations: 52.84 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006505/0.4572, allocations: 456.1 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4572, allocations: 7.719 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.4573, allocations: 13.06 kB / 0.5245 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.4576, allocations: 128.2 kB / 0.5247 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.4576, allocations: 1.375 kB / 0.5247 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.4576, allocations: 6.031 kB / 0.5247 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4576, allocations: 1.375 kB / 0.5247 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.4578, allocations: 77.56 kB / 0.5247 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.459, allocations: 0.6779 MB / 0.5254 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.4592, allocations: 113.8 kB / 0.5255 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.4594, allocations: 42.5 kB / 0.5256 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.4594, allocations: 10.84 kB / 0.5256 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.4594, allocations: 35.66 kB / 0.5256 GB, free: 14.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.4595, allocations: 1.25 kB / 0.5256 GB, free: 14.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001477/0.4609, allocations: 0.5059 MB / 0.5261 GB, free: 14.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.461, allocations: 83.73 kB / 0.5262 GB, free: 14.26 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.4622, allocations: 0.8727 MB / 0.527 GB, free: 13.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.4622, allocations: 26.31 kB / 0.5271 GB, free: 13.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.4624, allocations: 251.8 kB / 0.5273 GB, free: 13.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.4625, allocations: 57.69 kB / 0.5273 GB, free: 13.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.847e-05/0.4626, allocations: 36.83 kB / 0.5274 GB, free: 13.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.4628, allocations: 371.9 kB / 0.5277 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/0.4629, allocations: 58.39 kB / 0.5278 GB, free: 13.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.4631, allocations: 68.28 kB / 0.5279 GB, free: 13.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.4635, allocations: 130.8 kB / 0.528 GB, free: 13.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4635, allocations: 0 / 0.528 GB, free: 13.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004824/0.464, allocations: 225.3 kB / 0.5282 GB, free: 13.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.464, allocations: 5.625 kB / 0.5282 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.464, allocations: 1.312 kB / 0.5282 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.464, allocations: 1.688 kB / 0.5282 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.4642, allocations: 38.59 kB / 0.5282 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.4643, allocations: 5.344 kB / 0.5282 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.4644, allocations: 16.48 kB / 0.5283 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.4644, allocations: 16.78 kB / 0.5283 GB, free: 13 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002238/0.4647, allocations: 203.2 kB / 0.5285 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.4648, allocations: 55.41 kB / 0.5285 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006042/0.4654, allocations: 272.2 kB / 0.5288 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4654, allocations: 5.594 kB / 0.5288 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4654, allocations: 1.625 kB / 0.5288 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4654, allocations: 0 / 0.5288 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.4666, allocations: 0.7627 MB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4666, allocations: 1.062 kB / 0.5295 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.4668, allocations: 43.06 kB / 0.5296 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4668, allocations: 5.031 kB / 0.5296 GB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.4668, allocations: 7.203 kB / 0.5296 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.4668, allocations: 5 kB / 0.5296 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4669, allocations: 0 / 0.5296 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005538/0.4674, allocations: 401.4 kB / 0.53 GB, free: 11.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.4676, allocations: 145.9 kB / 0.5301 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.4677, allocations: 5.062 kB / 0.5301 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.4679, allocations: 16.2 kB / 0.5301 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.4679, allocations: 13.7 kB / 0.5302 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.468, allocations: 8.609 kB / 0.5302 GB, free: 11.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007477/0.4687, allocations: 0.6344 MB / 0.5308 GB, free: 11.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4687, allocations: 0 / 0.5308 GB, free: 11.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003988/0.4691, allocations: 60 kB / 0.5308 GB, free: 11.25 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 (16): * Single equations (assignments): 16 * 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.002182/0.4713, allocations: 1.225 MB / 0.532 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005457/0.4719, allocations: 150.9 kB / 0.5322 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4719, allocations: 1.156 kB / 0.5322 GB, free: 10.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.4722, allocations: 79.2 kB / 0.5323 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000881/0.4731, allocations: 91.3 kB / 0.5323 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007674/0.4807, allocations: 4.913 MB / 0.5371 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.4813, allocations: 0.8565 MB / 0.538 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002152/0.4815, allocations: 72.86 kB / 0.538 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.4818, allocations: 160.2 kB / 0.5382 GB, free: 6.461 MB / 398.1 MB Notification: Performance of SimCode: time 9.81e-07/0.4818, allocations: 0 / 0.5382 GB, free: 6.461 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/0.5166, allocations: 9.705 MB / 0.5477 GB, free: 13.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/8.992, allocations: 8.953 kB / 0.5477 GB, free: 13.95 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches