Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30",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.0007959/0.000796, allocations: 103 kB / 16.02 MB, free: 76 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.0009315/0.0009312, allocations: 185.4 kB / 16.92 MB, free: 6.676 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.585/1.585, allocations: 205.4 MB / 223.1 MB, free: 5.484 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.3493/0.3493, allocations: 43.56 MB / 315 MB, free: 8.762 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.0005285/0.0005289, allocations: 16.38 kB / 384.7 MB, free: 7.551 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1323, allocations: 58.86 MB / 443.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.00218/0.1346, allocations: 1.337 MB / 444.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006463/0.1352, allocations: 311.7 kB / 445.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.61e-05/0.1353, allocations: 0 / 445.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.1355, allocations: 63.84 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.1357, allocations: 63.8 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.136, allocations: 103.9 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1361, allocations: 67.77 kB / 445.5 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1363, allocations: 12.45 kB / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.333e-05/0.1363, allocations: 31.91 kB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.872e-05/0.1364, allocations: 43.83 kB / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1364, allocations: 4 kB / 445.6 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.228e-05/0.1365, allocations: 35.91 kB / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.639e-05/0.1366, allocations: 23.92 kB / 445.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.1366, allocations: 49.45 kB / 445.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1368, allocations: 103.6 kB / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.1368, allocations: 3.984 kB / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1368, allocations: 0 / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1368, allocations: 0 / 445.8 MB, free: 10.33 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005358/0.1374, allocations: 403.1 kB / 446.2 MB, free: 9.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1374, allocations: 12.03 kB / 446.2 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.1375, allocations: 34.73 kB / 446.2 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.1375, allocations: 8.844 kB / 446.2 MB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1377, allocations: 212.6 kB / 446.4 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1377, allocations: 4.375 kB / 446.4 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.1378, allocations: 4.125 kB / 446.4 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1379, allocations: 65.67 kB / 446.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.138, allocations: 0 / 446.5 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.138, allocations: 7.984 kB / 446.5 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.138, allocations: 0 / 446.5 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1381, allocations: 39.97 kB / 446.6 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.1385, allocations: 300.8 kB / 446.8 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.1387, allocations: 46.56 kB / 446.9 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/0.1388, allocations: 28.94 kB / 446.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1388, allocations: 0 / 446.9 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1388, allocations: 38.55 kB / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1388, allocations: 0 / 447 MB, free: 8.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008147/0.1396, allocations: 241 kB / 447.2 MB, free: 8.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.1397, allocations: 59.41 kB / 447.2 MB, free: 8.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1399, allocations: 211.3 kB / 447.5 MB, free: 8.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.14, allocations: 29.7 kB / 447.5 MB, free: 8.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.14, allocations: 104.1 kB / 447.6 MB, free: 8.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.1401, allocations: 23.72 kB / 447.6 MB, free: 8.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.1401, allocations: 13.72 kB / 447.6 MB, free: 8.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1402, allocations: 326.8 kB / 447.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.1404, allocations: 43.91 kB / 448 MB, free: 7.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.1405, allocations: 39.97 kB / 448 MB, free: 7.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.1407, allocations: 93.03 kB / 448.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1407, allocations: 0 / 448.1 MB, free: 7.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002893/0.141, allocations: 129.5 kB / 448.2 MB, free: 7.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1411, allocations: 4 kB / 448.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1411, allocations: 0 / 448.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.1411, allocations: 0 / 448.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.1412, allocations: 31.92 kB / 448.3 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1412, allocations: 3.938 kB / 448.3 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.985e-05/0.1413, allocations: 19.89 kB / 448.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.1413, allocations: 4.281 kB / 448.3 MB, free: 7.562 MB / 382.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.0001196/0.1414, allocations: 125.8 kB / 448.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.1415, allocations: 11.91 kB / 448.4 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003368/0.1418, allocations: 150.9 kB / 448.6 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1418, allocations: 4 kB / 448.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1419, allocations: 7.938 kB / 448.6 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1419, allocations: 3.984 kB / 448.6 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/0.1425, allocations: 410.5 kB / 449 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1425, allocations: 0 / 449 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.071e-05/0.1426, allocations: 23.98 kB / 449 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1426, allocations: 3.938 kB / 449 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1426, allocations: 0 / 449 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1426, allocations: 0 / 449 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1426, allocations: 0 / 449 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.1429, allocations: 239.2 kB / 449.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.143, allocations: 93.02 kB / 449.4 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.143, allocations: 3.938 kB / 449.4 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.1431, allocations: 11.98 kB / 449.4 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.1432, allocations: 7.984 kB / 449.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.1432, allocations: 12 kB / 449.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.1433, allocations: 160.9 kB / 449.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1433, allocations: 0 / 449.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.1436, allocations: 12 kB / 449.6 MB, free: 6.203 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 (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.001439/0.145, allocations: 1.078 MB / 450.6 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.1453, allocations: 95.92 kB / 450.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1453, allocations: 0 / 450.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.1455, allocations: 55.91 kB / 450.8 MB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.1458, allocations: 11.98 kB / 450.8 MB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.1477, allocations: 1.762 MB / 452.6 MB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.148, allocations: 0.7041 MB / 453.3 MB, free: 2.398 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.165e-05/0.148, allocations: 16.66 kB / 453.3 MB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.583e-05/0.1481, allocations: 27.42 kB / 453.3 MB, free: 2.355 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1481, allocations: 0 / 453.3 MB, free: 2.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2254/0.3735, allocations: 2.573 MB / 455.9 MB, free: 45.52 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.3738, allocations: 227.3 kB / 456.1 MB, free: 45.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.202, allocations: 4.031 kB / 456.1 MB, free: 45.27 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches