Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.0007019/0.000702, allocations: 93.42 kB / 17.35 MB, free: 6.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.0007338/0.0007339, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.284/1.284, allocations: 223.2 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1865/0.1865, allocations: 44.26 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003193, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1225, allocations: 61.93 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002124/0.1246, allocations: 1.333 MB / 473.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1263, allocations: 1.035 MB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.1263, allocations: 0 / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.1266, allocations: 23.92 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.1267, allocations: 31.84 kB / 474.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.1271, allocations: 163 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1273, allocations: 59.78 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1274, allocations: 23.97 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.693e-05/0.1274, allocations: 19.92 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.1276, allocations: 27.84 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1276, allocations: 8 kB / 475.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1277, allocations: 43.98 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.1278, allocations: 15.92 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.511e-05/0.1279, allocations: 57.48 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.1281, allocations: 99.92 kB / 475.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1281, allocations: 3.938 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1281, allocations: 0 / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1281, allocations: 0 / 475.3 MB, free: 10.31 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.0005314/0.1286, allocations: 391.3 kB / 475.7 MB, free: 9.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1287, allocations: 12.03 kB / 475.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.886e-05/0.1287, allocations: 30.75 kB / 475.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.1288, allocations: 8.844 kB / 475.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.1289, allocations: 196.1 kB / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.129, allocations: 4.375 kB / 475.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.129, allocations: 384 / 475.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1292, allocations: 91.25 kB / 476 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1292, allocations: 0 / 476 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.1292, allocations: 4 kB / 476 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1292, allocations: 4 kB / 476 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000141/0.1294, allocations: 39.97 kB / 476 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.1298, allocations: 312.7 kB / 476.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.13, allocations: 54.48 kB / 476.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.935e-05/0.1301, allocations: 32.94 kB / 476.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1301, allocations: 80 / 476.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.1301, allocations: 34.56 kB / 476.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1301, allocations: 0 / 476.5 MB, free: 8.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008698/0.131, allocations: 261.5 kB / 476.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/0.1311, allocations: 81.11 kB / 476.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1313, allocations: 144.1 kB / 476.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.1313, allocations: 33.69 kB / 477 MB, free: 8.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.1314, allocations: 95.98 kB / 477.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.1314, allocations: 23.7 kB / 477.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.1314, allocations: 17.72 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1316, allocations: 314.8 kB / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.1317, allocations: 47.95 kB / 477.5 MB, free: 7.891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.1319, allocations: 61.69 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.1321, allocations: 113 kB / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1321, allocations: 0 / 477.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000303/0.1324, allocations: 145.5 kB / 477.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1325, allocations: 4 kB / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1325, allocations: 3.984 kB / 477.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1325, allocations: 0 / 477.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.1326, allocations: 23.98 kB / 477.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1327, allocations: 3.938 kB / 477.8 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.1327, allocations: 19.98 kB / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1327, allocations: 8 kB / 477.8 MB, free: 7.5 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.0001015/0.1329, allocations: 129.7 kB / 478 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.1329, allocations: 11.84 kB / 478 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/0.1333, allocations: 150.3 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1333, allocations: 7.984 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1333, allocations: 3.938 kB / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1333, allocations: 0 / 478.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.1339, allocations: 422.4 kB / 478.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1339, allocations: 0 / 478.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.704e-05/0.134, allocations: 27.98 kB / 478.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.134, allocations: 3.938 kB / 478.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.134, allocations: 3.984 kB / 478.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.134, allocations: 0 / 478.6 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.134, allocations: 4 kB / 478.6 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.1343, allocations: 231.3 kB / 478.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.1344, allocations: 93 kB / 478.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.1344, allocations: 3.938 kB / 478.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.1346, allocations: 15.98 kB / 478.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.1346, allocations: 15.98 kB / 478.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1346, allocations: 0 / 478.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.841e-05/0.1347, allocations: 107.2 kB / 479 MB, free: 6.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1347, allocations: 0 / 479 MB, free: 6.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.135, allocations: 24 kB / 479.1 MB, free: 6.164 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.001518/0.1365, allocations: 1.123 MB / 480.2 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.1368, allocations: 107.9 kB / 480.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1368, allocations: 0 / 480.3 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.137, allocations: 51.97 kB / 480.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.1373, allocations: 19.92 kB / 480.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.1394, allocations: 1.656 MB / 482 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1397, allocations: 0.6926 MB / 482.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001158/0.1398, allocations: 29.09 kB / 482.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.917e-05/0.1399, allocations: 31.42 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1399, allocations: 0 / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0148/0.1547, allocations: 2.647 MB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.155, allocations: 240.2 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/1.966, allocations: 0 / 485.7 MB, free: 15.71 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches