Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27",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.001561/0.001561, allocations: 105.6 kB / 16.27 MB, free: 5.977 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.001763/0.001763, allocations: 188.1 kB / 17.19 MB, free: 5.613 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.511/1.511, allocations: 205.1 MB / 223.1 MB, free: 12.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2032/0.2032, allocations: 43.52 MB / 314 MB, free: 0.5 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.001687/0.001687, allocations: 64.25 kB / 382.8 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1233, allocations: 57.8 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002949/0.1263, allocations: 1.597 MB / 442.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006146/0.1269, allocations: 355.4 kB / 442.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.298e-05/0.127, allocations: 0 / 442.6 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.1273, allocations: 59.8 kB / 442.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.1275, allocations: 51.81 kB / 442.7 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.1278, allocations: 155.4 kB / 442.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.128, allocations: 79.75 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1281, allocations: 15.98 kB / 442.9 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.1282, allocations: 31.91 kB / 443 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.339e-05/0.1283, allocations: 47.84 kB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1283, allocations: 4 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.031e-05/0.1284, allocations: 31.98 kB / 443 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.703e-05/0.1284, allocations: 23.91 kB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.1285, allocations: 35.73 kB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.1287, allocations: 87.78 kB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1287, allocations: 3.938 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1287, allocations: 0 / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1287, allocations: 0 / 443.2 MB, free: 4.215 MB / 318.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.0004809/0.1292, allocations: 418.9 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1292, allocations: 15.89 kB / 443.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.784e-05/0.1293, allocations: 30.75 kB / 443.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.1293, allocations: 12.84 kB / 443.7 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.1295, allocations: 198.1 kB / 443.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.003e-06/0.1295, allocations: 384 / 443.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1295, allocations: 4.375 kB / 443.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1297, allocations: 65.59 kB / 443.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1297, allocations: 0 / 443.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1297, allocations: 7.938 kB / 443.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1297, allocations: 4 kB / 443.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.1298, allocations: 39.95 kB / 444 MB, free: 3.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.1302, allocations: 308.8 kB / 444.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.1303, allocations: 50.55 kB / 444.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.092e-05/0.1304, allocations: 28.88 kB / 444.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.1304, allocations: 0 / 444.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.178e-05/0.1304, allocations: 34.56 kB / 444.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.1304, allocations: 0 / 444.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006632/0.1311, allocations: 225.1 kB / 444.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.1311, allocations: 55.41 kB / 444.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.1312, allocations: 198.8 kB / 444.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1313, allocations: 25.7 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.1313, allocations: 112.1 kB / 445 MB, free: 2.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.1313, allocations: 19.66 kB / 445 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.1314, allocations: 25.7 kB / 445 MB, free: 2.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.723e-05/0.1314, allocations: 322.8 kB / 445.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1315, allocations: 35.97 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-05/0.1316, allocations: 40.11 kB / 445.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.1318, allocations: 96.78 kB / 445.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1318, allocations: 0 / 445.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002298/0.132, allocations: 125.5 kB / 445.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1321, allocations: 4 kB / 445.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1321, allocations: 0 / 445.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1321, allocations: 0 / 445.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1322, allocations: 23.98 kB / 445.7 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1322, allocations: 4 kB / 445.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.1323, allocations: 15.92 kB / 445.7 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1323, allocations: 0 / 445.7 MB, free: 1.488 MB / 318.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 5.637e-05/0.1323, allocations: 133.7 kB / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.1324, allocations: 15.81 kB / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.1327, allocations: 142.3 kB / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1327, allocations: 0 / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1327, allocations: 0 / 446 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1327, allocations: 3.938 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.1331, allocations: 410.4 kB / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1331, allocations: 0 / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.068e-05/0.1332, allocations: 27.98 kB / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1332, allocations: 0 / 446.4 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.1332, allocations: 7.922 kB / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1332, allocations: 0 / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1332, allocations: 0 / 446.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.1335, allocations: 227.4 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.205e-05/0.1335, allocations: 85 kB / 446.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.1335, allocations: 3.938 kB / 446.7 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.091e-05/0.1336, allocations: 15.98 kB / 446.7 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.1336, allocations: 7.984 kB / 446.7 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1337, allocations: 0 / 446.7 MB, free: 328 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.964e-05/0.1337, allocations: 143.2 kB / 446.9 MB, free: 184 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1337, allocations: 3.938 kB / 446.9 MB, free: 180 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002268/0.134, allocations: 27.89 kB / 446.9 MB, free: 152 kB / 318.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.001266/0.1352, allocations: 1.043 MB / 448 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002849/0.1355, allocations: 103.8 kB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1356, allocations: 0 / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.1357, allocations: 47.97 kB / 448.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.136, allocations: 19.42 kB / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.1378, allocations: 1.689 MB / 449.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.1381, allocations: 0.7132 MB / 450.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.833e-05/0.1381, allocations: 24.95 kB / 450.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.1382, allocations: 31.36 kB / 450.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1382, allocations: 0 / 450.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05499/0.1932, allocations: 2.922 MB / 453.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.047, allocations: 15.62 kB / 453.5 MB, free: 9.48 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches