Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16",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.001553/0.001553, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 203.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 222.6 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2697/0.2697, allocations: 43.51 MB / 313.5 MB, free: 8.547 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 66.56 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0806/0.08185, allocations: 57.79 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test16): time 0.002429/0.08432, allocations: 1.686 MB / 441.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006768/0.08501, allocations: 0.6643 MB / 442.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.08504, allocations: 4 kB / 442.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.08521, allocations: 23.91 kB / 442.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.08536, allocations: 39.89 kB / 442.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.815e-06/0.08537, allocations: 0 / 442.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.0855, allocations: 47.88 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.59e-05/0.08553, allocations: 4 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.606e-05/0.08556, allocations: 7.938 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.08562, allocations: 19.91 kB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-06/0.08564, allocations: 4 kB / 442.4 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-05/0.08568, allocations: 12 kB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.08572, allocations: 15.92 kB / 442.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.08576, allocations: 27.81 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.919e-05/0.08586, allocations: 67.95 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.08587, allocations: 3.938 kB / 442.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.08588, allocations: 0 / 442.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.08589, allocations: 0 / 442.5 MB, free: 12.1 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003026/0.08619, allocations: 367.3 kB / 442.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.08624, allocations: 8.031 kB / 442.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.08627, allocations: 42.73 kB / 442.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.979e-05/0.0863, allocations: 4.844 kB / 442.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.08641, allocations: 180.2 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.08642, allocations: 4.375 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.08643, allocations: 384 / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.08657, allocations: 119.3 kB / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.08659, allocations: 7.875 kB / 443.3 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.0866, allocations: 7.984 kB / 443.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.08664, allocations: 27.92 kB / 443.3 MB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.08672, allocations: 43.91 kB / 443.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.0872, allocations: 0.8906 MB / 444.2 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.795e-05/0.08726, allocations: 173.1 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.507e-05/0.08729, allocations: 84.08 kB / 444.5 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.08732, allocations: 79.28 kB / 444.6 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.08736, allocations: 109.9 kB / 444.7 MB, free: 9.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.08736, allocations: 3.938 kB / 444.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 5.715e-05/0.08743, allocations: 33.61 kB / 444.7 MB, free: 9.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.08747, allocations: 126.7 kB / 444.8 MB, free: 9.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.08761, allocations: 182.1 kB / 445 MB, free: 9.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.08763, allocations: 25.7 kB / 445 MB, free: 9.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.0877, allocations: 155.1 kB / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.08771, allocations: 0 / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.08776, allocations: 49.61 kB / 445.2 MB, free: 9.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.61e-05/0.08785, allocations: 322.8 kB / 445.5 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.136e-05/0.0879, allocations: 35.94 kB / 445.6 MB, free: 8.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.95e-05/0.088, allocations: 153.1 kB / 445.7 MB, free: 8.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.08816, allocations: 196.9 kB / 445.9 MB, free: 8.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.08818, allocations: 8 kB / 445.9 MB, free: 8.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002514/0.08843, allocations: 201.6 kB / 446.1 MB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.08845, allocations: 8.094 kB / 446.1 MB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.08846, allocations: 4 kB / 446.1 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.08848, allocations: 8 kB / 446.1 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.08858, allocations: 35.92 kB / 446.2 MB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.08859, allocations: 8 kB / 446.2 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.083e-05/0.08867, allocations: 19.84 kB / 446.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.08869, allocations: 8 kB / 446.2 MB, free: 8.023 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.246e-05/0.08878, allocations: 220.9 kB / 446.4 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.08885, allocations: 124.8 kB / 446.5 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.08889, allocations: 116.8 kB / 446.7 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-05/0.08894, allocations: 184.2 kB / 446.8 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-05/0.08899, allocations: 176.3 kB / 447 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-05/0.08904, allocations: 188.3 kB / 447.2 MB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.08923, allocations: 433 kB / 447.6 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.772e-05/0.08926, allocations: 109 kB / 447.7 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.587e-05/0.08929, allocations: 108.9 kB / 447.8 MB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.387e-05/0.08934, allocations: 176.3 kB / 448 MB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.08939, allocations: 176.3 kB / 448.2 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-05/0.08944, allocations: 184.2 kB / 448.4 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.115e-05/0.08949, allocations: 180.3 kB / 448.5 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.0896, allocations: 319.6 kB / 448.8 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.08966, allocations: 182 kB / 449 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.343e-05/0.08972, allocations: 184.2 kB / 449.2 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.08979, allocations: 105 kB / 449.3 MB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.08985, allocations: 188.2 kB / 449.5 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.08988, allocations: 101 kB / 449.6 MB, free: 4.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.2e-05/0.08996, allocations: 132.1 kB / 449.7 MB, free: 4.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08997, allocations: 0 / 449.7 MB, free: 4.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.09023, allocations: 16 kB / 449.7 MB, free: 4.273 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0005811/0.09082, allocations: 0.926 MB / 450.7 MB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.09094, allocations: 76.86 kB / 450.7 MB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.09095, allocations: 0 / 450.7 MB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.09095, allocations: 192 / 450.7 MB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.09128, allocations: 0.5263 MB / 451.3 MB, free: 2.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.09258, allocations: 1.895 MB / 453.2 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.134/0.2266, allocations: 0.698 MB / 453.9 MB, free: 49.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002774/0.2269, allocations: 46.17 kB / 453.9 MB, free: 49.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.677e-05/0.227, allocations: 29.27 kB / 453.9 MB, free: 49.25 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.227, allocations: 0 / 453.9 MB, free: 49.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5119/0.7389, allocations: 1.891 MB / 455.8 MB, free: 48.92 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.7391, allocations: 239 kB / 456 MB, free: 48.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.435, allocations: 0 / 456 MB, free: 48.67 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches