Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001058/0.001058, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001108/0.001108, allocations: 194 kB / 18.12 MB, free: 5.363 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.344/1.344, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.2103/0.2103, allocations: 44.17 MB / 336.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 63.84 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1219, allocations: 60.82 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.004954/0.1269, allocations: 1.913 MB / 470.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.1291, allocations: 0.9085 MB / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.1294, allocations: 0 / 471.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005228/0.1299, allocations: 259.4 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.1304, allocations: 171.5 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.1319, allocations: 0.6035 MB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.1324, allocations: 263.3 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.1326, allocations: 56.31 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.1328, allocations: 111.5 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.1331, allocations: 183.4 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.1332, allocations: 4 kB / 473.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.1333, allocations: 47.92 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.1335, allocations: 91.66 kB / 473.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.1336, allocations: 99.11 kB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004025/0.134, allocations: 274.9 kB / 473.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.134, allocations: 4 kB / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1341, allocations: 0 / 473.6 MB, free: 9.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1341, allocations: 3.938 kB / 473.6 MB, free: 9.77 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009622/0.135, allocations: 0.6262 MB / 474.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1351, allocations: 8.031 kB / 474.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.357e-05/0.1352, allocations: 42.73 kB / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.842e-05/0.1353, allocations: 36.47 kB / 474.3 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.1356, allocations: 318.2 kB / 474.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.1357, allocations: 4.375 kB / 474.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.1357, allocations: 8.375 kB / 474.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.1359, allocations: 105.5 kB / 474.7 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.136, allocations: 4 kB / 474.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.136, allocations: 4 kB / 474.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.136, allocations: 0 / 474.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.1362, allocations: 67.95 kB / 474.8 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.1368, allocations: 472.4 kB / 475.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1369, allocations: 70.53 kB / 475.3 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.127e-05/0.137, allocations: 36.91 kB / 475.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.1371, allocations: 4 kB / 475.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.1371, allocations: 30.56 kB / 475.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1371, allocations: 4 kB / 475.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003766/0.1375, allocations: 157.1 kB / 475.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1375, allocations: 55.34 kB / 475.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.1381, allocations: 0.5526 MB / 476.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1381, allocations: 25.7 kB / 476.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.1383, allocations: 196.1 kB / 476.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.1383, allocations: 23.66 kB / 476.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.1384, allocations: 21.7 kB / 476.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1385, allocations: 354.8 kB / 476.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.1386, allocations: 23.98 kB / 476.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.1387, allocations: 23.98 kB / 476.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.1388, allocations: 64.83 kB / 476.9 MB, free: 6.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1388, allocations: 7.922 kB / 476.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002166/0.139, allocations: 117.7 kB / 477 MB, free: 6.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1391, allocations: 8 kB / 477 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1391, allocations: 8 kB / 477 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1391, allocations: 3.938 kB / 477 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.1392, allocations: 11.98 kB / 477 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1392, allocations: 4 kB / 477 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.618e-05/0.1393, allocations: 7.906 kB / 477 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1393, allocations: 0 / 477 MB, free: 6.074 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 (6): * Single equations (assignments): 6 * 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.0001471/0.1394, allocations: 173.8 kB / 477.2 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-05/0.1395, allocations: 35.53 kB / 477.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.1398, allocations: 148.9 kB / 477.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1398, allocations: 11.88 kB / 477.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.1398, allocations: 0 / 477.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1398, allocations: 0 / 477.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002808/0.1401, allocations: 289.5 kB / 477.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1401, allocations: 0 / 477.7 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.1402, allocations: 12 kB / 477.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1402, allocations: 0 / 477.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1402, allocations: 0 / 477.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.1402, allocations: 7.875 kB / 477.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1402, allocations: 7.984 kB / 477.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.1405, allocations: 227 kB / 477.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.1406, allocations: 116.6 kB / 478 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.196e-05/0.1406, allocations: 0 / 478 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/0.1407, allocations: 11.94 kB / 478.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.1408, allocations: 7.984 kB / 478.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1408, allocations: 4 kB / 478.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004228/0.1412, allocations: 415.1 kB / 478.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1412, allocations: 0 / 478.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003031/0.1415, allocations: 36 kB / 478.5 MB, free: 4.504 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 (6): * Single equations (assignments): 6 * 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.001919/0.1434, allocations: 1.251 MB / 479.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1437, allocations: 63.95 kB / 479.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1437, allocations: 0 / 479.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.137e-05/0.1438, allocations: 39.91 kB / 479.9 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/0.1443, allocations: 70.52 kB / 479.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.1477, allocations: 2.919 MB / 482.9 MB, free: 332 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1481, allocations: 0.8064 MB / 483.7 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.1482, allocations: 57.47 kB / 483.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.1484, allocations: 103.3 kB / 483.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1484, allocations: 0 / 483.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.1663, allocations: 6.31 MB / 490.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/0.1665, allocations: 239.7 kB / 490.4 MB, free: 8.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.955/2.122, allocations: 0 / 490.4 MB, free: 8.879 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches