Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30",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.001482/0.001482, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001748/0.001748, allocations: 180.1 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.434/1.434, 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.2497/0.2497, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.439, allocations: 60.82 MB / 0.5184 GB, free: 3.301 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.003165/0.4422, allocations: 1.644 MB / 0.5201 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009142/0.4431, allocations: 455 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.345e-05/0.4432, allocations: 1.156 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002921/0.4435, allocations: 71.64 kB / 0.5206 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002351/0.4437, allocations: 67.05 kB / 0.5206 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.4442, allocations: 172.1 kB / 0.5208 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.4444, allocations: 86.72 kB / 0.5209 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.4446, allocations: 26.62 kB / 0.5209 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.115e-05/0.4446, allocations: 35.47 kB / 0.5209 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.4448, allocations: 53.16 kB / 0.521 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.4448, allocations: 3.656 kB / 0.521 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.4449, allocations: 51.66 kB / 0.521 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.445, allocations: 26.98 kB / 0.5211 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.707e-05/0.4451, allocations: 36.61 kB / 0.5211 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.4453, allocations: 120.2 kB / 0.5212 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4454, allocations: 0 / 0.5212 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4454, allocations: 4 kB / 0.5212 GB, free: 1.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.4454, allocations: 1 kB / 0.5212 GB, free: 1.555 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.0004974/0.4459, allocations: 419.7 kB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4459, allocations: 9.344 kB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.761e-05/0.446, allocations: 40.58 kB / 0.5217 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.446, allocations: 14.36 kB / 0.5217 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.4462, allocations: 197.8 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.4462, allocations: 2.656 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.4463, allocations: 7.453 kB / 0.5219 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.4464, allocations: 70.48 kB / 0.5219 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.4465, allocations: 7.844 kB / 0.5219 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4465, allocations: 1.953 kB / 0.5219 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.4465, allocations: 0.9375 kB / 0.5219 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.4467, allocations: 45.94 kB / 0.522 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.4471, allocations: 331 kB / 0.5223 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.4474, allocations: 65.81 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.345e-05/0.4475, allocations: 25.64 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.4475, allocations: 1.375 kB / 0.5224 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.4475, allocations: 36.69 kB / 0.5224 GB, free: 420 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.4476, allocations: 4 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001611/0.4492, allocations: 418.1 kB / 0.5228 GB, free: 288 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.4492, allocations: 52.59 kB / 0.5229 GB, free: 224 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.4495, allocations: 217 kB / 0.5231 GB, free: 84 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.4495, allocations: 27.23 kB / 0.5231 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.186e-05/0.4496, allocations: 113.5 kB / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.4496, allocations: 35.31 kB / 0.5233 GB, free: 15.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.4497, allocations: 22.91 kB / 0.5233 GB, free: 15.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.4499, allocations: 327.6 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.45, allocations: 51.16 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.4502, allocations: 53.84 kB / 0.5237 GB, free: 15.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003118/0.4505, allocations: 129.5 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.4505, allocations: 0 / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003733/0.4509, allocations: 163.7 kB / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.4509, allocations: 5.906 kB / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4509, allocations: 0 / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4509, allocations: 5.438 kB / 0.524 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.4511, allocations: 32.33 kB / 0.524 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4511, allocations: 1.156 kB / 0.524 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.959e-05/0.4512, allocations: 17.61 kB / 0.524 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.4512, allocations: 3.625 kB / 0.524 GB, free: 15.41 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.000115/0.4513, allocations: 134 kB / 0.5242 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.4514, allocations: 14.5 kB / 0.5242 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000486/0.4519, allocations: 204.6 kB / 0.5244 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.4519, allocations: 5.719 kB / 0.5244 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4519, allocations: 0 / 0.5244 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4519, allocations: 0.6094 kB / 0.5244 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007889/0.4527, allocations: 0.5081 MB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4527, allocations: 1.812 kB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.4528, allocations: 25.39 kB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4528, allocations: 1.781 kB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.4528, allocations: 2.406 kB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4529, allocations: 0 / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4529, allocations: 1.844 kB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.4533, allocations: 275.2 kB / 0.5252 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/0.4534, allocations: 95.14 kB / 0.5253 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.4534, allocations: 1.75 kB / 0.5253 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.786e-05/0.4535, allocations: 10.42 kB / 0.5253 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.4536, allocations: 15.66 kB / 0.5253 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.4536, allocations: 3.812 kB / 0.5253 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.4538, allocations: 163.5 kB / 0.5254 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4538, allocations: 1.375 kB / 0.5254 GB, free: 14.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.4541, allocations: 23.33 kB / 0.5255 GB, free: 14.36 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.001736/0.4558, allocations: 1.158 MB / 0.5266 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003989/0.4562, allocations: 131.2 kB / 0.5267 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4563, allocations: 0 / 0.5267 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.4564, allocations: 74.38 kB / 0.5268 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.4569, allocations: 19.42 kB / 0.5268 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.4599, allocations: 1.942 MB / 0.5287 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.4604, allocations: 0.7218 MB / 0.5294 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.4605, allocations: 38.91 kB / 0.5295 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.4606, allocations: 38.34 kB / 0.5295 GB, free: 11.26 MB / 398.1 MB Notification: Performance of SimCode: time 2.044e-06/0.4607, allocations: 1.375 kB / 0.5295 GB, free: 11.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.4827, allocations: 3.57 MB / 0.533 GB, free: 9.395 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.27, allocations: 15.3 kB / 0.533 GB, free: 9.383 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches