Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10",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.001161/0.001162, allocations: 104.1 kB / 17.63 MB, free: 5.344 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.001204/0.001204, allocations: 192 kB / 18.56 MB, free: 4.434 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.422/1.422, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2187/0.2187, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 72.27 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1424, allocations: 60.81 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003644/0.1461, allocations: 1.619 MB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1478, allocations: 1.066 MB / 472 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.251e-05/0.148, allocations: 3.938 kB / 472 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.1482, allocations: 15.86 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002533/0.1485, allocations: 47.78 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.149, allocations: 166.9 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.1492, allocations: 71.77 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1493, allocations: 27.97 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.1494, allocations: 15.94 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1495, allocations: 42.58 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1495, allocations: 4 kB / 472.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.1497, allocations: 47.92 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.1498, allocations: 31.91 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.1498, allocations: 27.8 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.15, allocations: 104 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1501, allocations: 4 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1501, allocations: 0 / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1501, allocations: 0 / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005761/0.1507, allocations: 398.1 kB / 473 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.1507, allocations: 12.03 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.668e-05/0.1508, allocations: 30.75 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.1508, allocations: 8.844 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.151, allocations: 200.9 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.151, allocations: 8.375 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1511, allocations: 384 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.1513, allocations: 75.33 kB / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1513, allocations: 0 / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1513, allocations: 0 / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.1513, allocations: 0 / 473.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.1515, allocations: 43.95 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.1519, allocations: 316.6 kB / 473.7 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1521, allocations: 46.55 kB / 473.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.277e-05/0.1521, allocations: 24.94 kB / 473.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1522, allocations: 4 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1522, allocations: 34.56 kB / 473.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1522, allocations: 0 / 473.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007907/0.153, allocations: 217.2 kB / 474 MB, free: 9.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.1531, allocations: 89.05 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1532, allocations: 148 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1532, allocations: 25.7 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.1533, allocations: 100.1 kB / 474.4 MB, free: 9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.1533, allocations: 15.72 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.1534, allocations: 25.7 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1535, allocations: 318.8 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.1536, allocations: 43.95 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.1537, allocations: 57.75 kB / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002243/0.154, allocations: 88.86 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.154, allocations: 0 / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000335/0.1543, allocations: 133.5 kB / 475 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1543, allocations: 4 kB / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1543, allocations: 0 / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.1544, allocations: 0 / 475.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1545, allocations: 19.98 kB / 475.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1545, allocations: 3.938 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.535e-05/0.1546, allocations: 11.98 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.1546, allocations: 4 kB / 475.1 MB, free: 8.258 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001734/0.1548, allocations: 121.8 kB / 475.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.1548, allocations: 15.83 kB / 475.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.1552, allocations: 134.3 kB / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1552, allocations: 0 / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1552, allocations: 3.938 kB / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1552, allocations: 7.984 kB / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.1557, allocations: 410.4 kB / 475.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1558, allocations: 4 kB / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.038e-05/0.1559, allocations: 19.92 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1559, allocations: 7.938 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1559, allocations: 4 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1559, allocations: 0 / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.1559, allocations: 3.984 kB / 475.8 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.1562, allocations: 216.1 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.1563, allocations: 85.09 kB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.1563, allocations: 3.938 kB / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.814e-05/0.1565, allocations: 23.97 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.1565, allocations: 0 / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.1565, allocations: 7.984 kB / 476.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.681e-05/0.1566, allocations: 111.2 kB / 476.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1566, allocations: 0 / 476.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000285/0.1569, allocations: 27.98 kB / 476.3 MB, free: 6.969 MB / 350.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 (7): * Single equations (assignments): 7 * 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.001618/0.1585, allocations: 1.09 MB / 477.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.1589, allocations: 95.88 kB / 477.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1589, allocations: 0 / 477.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.159, allocations: 47.95 kB / 477.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1594, allocations: 19.23 kB / 477.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.1614, allocations: 1.598 MB / 479.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.1616, allocations: 0.7002 MB / 479.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.414e-05/0.1617, allocations: 25.09 kB / 479.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.912e-05/0.1618, allocations: 27.42 kB / 479.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1618, allocations: 0 / 479.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.1832, allocations: 3.041 MB / 482.9 MB, free: 452 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.611/7.794, allocations: 20.03 kB / 482.9 MB, free: 432 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches