Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",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.001077/0.001077, allocations: 107.8 kB / 15.98 MB, free: 6.348 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.0009981/0.0009981, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.701/1.701, allocations: 205.1 MB / 222.8 MB, free: 4.672 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.3655/0.3655, allocations: 43.5 MB / 313.6 MB, free: 8.492 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.001512/0.001512, allocations: 63.91 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1216, allocations: 57.77 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003837/0.1255, allocations: 2.092 MB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1274, allocations: 1.065 MB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002503/0.1277, allocations: 4 kB / 443.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.1281, allocations: 39.7 kB / 443.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005104/0.1287, allocations: 139.5 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1301, allocations: 0.5381 MB / 444 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005403/0.1306, allocations: 295.1 kB / 444.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002344/0.1309, allocations: 88.48 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.1312, allocations: 127.5 kB / 444.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.1315, allocations: 203.2 kB / 444.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.1316, allocations: 12 kB / 444.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.1317, allocations: 47.98 kB / 444.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.1319, allocations: 143.5 kB / 444.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.1322, allocations: 182.6 kB / 445 MB, free: 9.652 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005628/0.1327, allocations: 390.5 kB / 445.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1327, allocations: 0 / 445.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.1328, allocations: 0 / 445.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.586e-05/0.1328, allocations: 0 / 445.4 MB, free: 9.27 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001657/0.1345, allocations: 0.8046 MB / 446.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.649e-05/0.1345, allocations: 19.83 kB / 446.3 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.208e-05/0.1346, allocations: 46.73 kB / 446.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.1348, allocations: 52.28 kB / 446.3 MB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008805/0.1357, allocations: 467.7 kB / 446.8 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1357, allocations: 4.375 kB / 446.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.1358, allocations: 15.94 kB / 446.8 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005164/0.1363, allocations: 167.1 kB / 447 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.1363, allocations: 0 / 447 MB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.1364, allocations: 8 kB / 447 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1364, allocations: 0 / 447 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.1368, allocations: 115.9 kB / 447.1 MB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001665/0.1385, allocations: 0.7306 MB / 447.8 MB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.1389, allocations: 129.4 kB / 448 MB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1391, allocations: 65.8 kB / 448 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.482e-05/0.1391, allocations: 7.938 kB / 448 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.1392, allocations: 42.44 kB / 448.1 MB, free: 6.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.904e-06/0.1392, allocations: 0 / 448.1 MB, free: 6.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002264/0.1415, allocations: 0.736 MB / 448.8 MB, free: 5.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.1415, allocations: 81.11 kB / 448.9 MB, free: 5.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.1426, allocations: 0.8906 MB / 449.8 MB, free: 4.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.1426, allocations: 29.7 kB / 449.8 MB, free: 4.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.1428, allocations: 268.2 kB / 450.1 MB, free: 4.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.1429, allocations: 63.02 kB / 450.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.143, allocations: 45.69 kB / 450.2 MB, free: 4.258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1432, allocations: 374.7 kB / 450.5 MB, free: 3.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.1435, allocations: 115.9 kB / 450.7 MB, free: 3.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002735/0.1437, allocations: 129.1 kB / 450.8 MB, free: 3.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.1443, allocations: 253.5 kB / 451 MB, free: 3.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1443, allocations: 0 / 451 MB, free: 3.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007038/0.145, allocations: 332.9 kB / 451.4 MB, free: 3.055 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.1451, allocations: 8 kB / 451.4 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1451, allocations: 0 / 451.4 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1451, allocations: 0 / 451.4 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.1454, allocations: 64.62 kB / 451.4 MB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1454, allocations: 0 / 451.4 MB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.1456, allocations: 15.98 kB / 451.4 MB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.1457, allocations: 19.98 kB / 451.5 MB, free: 2.949 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002191/0.1459, allocations: 217.6 kB / 451.7 MB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.146, allocations: 59.25 kB / 451.7 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008425/0.1468, allocations: 398.2 kB / 452.1 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1469, allocations: 4 kB / 452.1 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1469, allocations: 0 / 452.1 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1469, allocations: 0 / 452.1 MB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.1484, allocations: 0.9502 MB / 453.1 MB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1484, allocations: 7.938 kB / 453.1 MB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.1486, allocations: 51.94 kB / 453.1 MB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1486, allocations: 0 / 453.1 MB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.1487, allocations: 8.469 kB / 453.1 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1487, allocations: 11.88 kB / 453.2 MB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1487, allocations: 4 kB / 453.2 MB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.1495, allocations: 0.5096 MB / 453.7 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.1496, allocations: 144.4 kB / 453.8 MB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/0.1497, allocations: 8 kB / 453.8 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.1499, allocations: 19.92 kB / 453.8 MB, free: 472 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.15, allocations: 23.95 kB / 453.9 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1501, allocations: 7.984 kB / 453.9 MB, free: 440 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1879/0.338, allocations: 0.6513 MB / 454.5 MB, free: 48.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.283e-06/0.338, allocations: 1.406 kB / 454.5 MB, free: 48.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005596/0.3386, allocations: 59.53 kB / 454.6 MB, free: 48.69 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.001705/0.3403, allocations: 1.344 MB / 455.9 MB, free: 47.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006406/0.3409, allocations: 273.9 kB / 456.2 MB, free: 47.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.341, allocations: 0 / 456.2 MB, free: 47.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.3412, allocations: 154.1 kB / 456.3 MB, free: 47.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.3418, allocations: 80.95 kB / 456.4 MB, free: 47.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005925/0.3478, allocations: 5.623 MB / 462 MB, free: 45.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.3481, allocations: 0.8797 MB / 462.9 MB, free: 45.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000244/0.3483, allocations: 105.2 kB / 463 MB, free: 45.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.3486, allocations: 178.1 kB / 463.2 MB, free: 45.24 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3486, allocations: 0 / 463.2 MB, free: 45.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.3719, allocations: 9.904 MB / 473.1 MB, free: 44.12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/0.3721, allocations: 240 kB / 473.3 MB, free: 43.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.945/2.317, allocations: 4 kB / 473.3 MB, free: 43.85 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches