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.001471/0.001471, allocations: 109.5 kB / 17.33 MB, free: 6.016 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.002064/0.002064, allocations: 193.3 kB / 18.25 MB, free: 5.113 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.503/1.503, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2863/0.2863, allocations: 44.17 MB / 336.2 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.78 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1254, allocations: 60.83 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003236/0.1287, allocations: 1.688 MB / 470.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.1302, allocations: 1.035 MB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.1302, allocations: 0 / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.1304, allocations: 27.91 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.1307, allocations: 35.84 kB / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004033/0.1311, allocations: 162.2 kB / 471.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.1312, allocations: 63.78 kB / 471.8 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.1313, allocations: 27.98 kB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.687e-05/0.1314, allocations: 27.91 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1315, allocations: 31.86 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.1315, allocations: 4 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1317, allocations: 51.95 kB / 472 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.1317, allocations: 15.94 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.1318, allocations: 31.73 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.132, allocations: 108 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.132, allocations: 0 / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.132, allocations: 0 / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.132, allocations: 4 kB / 472.1 MB, free: 11.33 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.0004906/0.1325, allocations: 395.2 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1325, allocations: 8.031 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.1326, allocations: 34.75 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.1326, allocations: 8.844 kB / 472.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.1328, allocations: 200.1 kB / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.37e-06/0.1328, allocations: 384 / 472.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.194e-05/0.1328, allocations: 8.375 kB / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.133, allocations: 87.25 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.133, allocations: 0 / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.133, allocations: 0 / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.1331, allocations: 0 / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.1332, allocations: 39.97 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.1336, allocations: 308.7 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.1337, allocations: 46.55 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.752e-05/0.1338, allocations: 24.94 kB / 473.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.1338, allocations: 4 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.931e-05/0.1338, allocations: 34.56 kB / 473.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1338, allocations: 0 / 473.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007366/0.1346, allocations: 221.3 kB / 473.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1346, allocations: 81.11 kB / 473.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1348, allocations: 156.1 kB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.1348, allocations: 29.64 kB / 473.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.1349, allocations: 96.08 kB / 473.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.31e-05/0.1349, allocations: 23.7 kB / 473.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.855e-05/0.1349, allocations: 17.72 kB / 473.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.135, allocations: 318.8 kB / 474.2 MB, free: 9 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.1351, allocations: 35.97 kB / 474.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1353, allocations: 57.62 kB / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.1355, allocations: 88.8 kB / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1355, allocations: 0 / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002903/0.1358, allocations: 129.8 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1358, allocations: 8 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1358, allocations: 0 / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1359, allocations: 0 / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.136, allocations: 19.98 kB / 474.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.136, allocations: 7.875 kB / 474.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.459e-05/0.1361, allocations: 11.98 kB / 474.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1361, allocations: 4 kB / 474.6 MB, free: 8.629 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 8.271e-05/0.1362, allocations: 125.8 kB / 474.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.1362, allocations: 11.84 kB / 474.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.1365, allocations: 134.3 kB / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1365, allocations: 0 / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1366, allocations: 7.938 kB / 474.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1366, allocations: 288 / 474.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.1371, allocations: 410.3 kB / 475.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1371, allocations: 4 kB / 475.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.12e-05/0.1372, allocations: 19.97 kB / 475.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1372, allocations: 11.92 kB / 475.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1372, allocations: 8 kB / 475.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1372, allocations: 0 / 475.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1373, allocations: 4 kB / 475.3 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003178/0.1376, allocations: 219.3 kB / 475.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.1377, allocations: 77.11 kB / 475.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.1377, allocations: 7.938 kB / 475.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.31e-05/0.1378, allocations: 7.984 kB / 475.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.1378, allocations: 15.98 kB / 475.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1379, allocations: 0 / 475.6 MB, free: 7.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.281e-05/0.1379, allocations: 113 kB / 475.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1379, allocations: 0 / 475.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1382, allocations: 23.98 kB / 475.7 MB, free: 7.348 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.001596/0.1398, allocations: 1.098 MB / 476.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.1401, allocations: 103.9 kB / 476.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1402, allocations: 0 / 476.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.1403, allocations: 47.91 kB / 477 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.1406, allocations: 15.98 kB / 477 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.1427, allocations: 1.596 MB / 478.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.143, allocations: 0.704 MB / 479.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.1432, allocations: 29.09 kB / 479.3 MB, free: 3.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.1432, allocations: 27.42 kB / 479.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1432, allocations: 0 / 479.4 MB, free: 3.773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.1575, allocations: 2.927 MB / 482.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003242/0.1578, allocations: 237.8 kB / 482.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.034, allocations: 0 / 482.5 MB, free: 0.6836 MB / 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