Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1",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.001422/0.001422, allocations: 109.1 kB / 17.33 MB, free: 6.023 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.001793/0.001793, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.437/1.437, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.2484/0.2484, allocations: 44.17 MB / 336.2 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 56.91 kB / 408 MB, free: 27.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1462, allocations: 60.82 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003617/0.1499, allocations: 1.688 MB / 470.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008338/0.1507, allocations: 451.2 kB / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.1508, allocations: 0 / 470.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000616/0.1514, allocations: 451.1 kB / 471.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.1518, allocations: 247.6 kB / 471.6 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.1522, allocations: 163.4 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.1525, allocations: 171.6 kB / 472 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.1526, allocations: 23.97 kB / 472 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1528, allocations: 107.8 kB / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.153, allocations: 223.5 kB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.1531, allocations: 4 kB / 472.3 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1532, allocations: 47.98 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1533, allocations: 91.61 kB / 472.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.861e-05/0.1534, allocations: 103 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.1538, allocations: 275.2 kB / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1538, allocations: 0 / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.839e-06/0.1538, allocations: 0 / 472.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1538, allocations: 7.938 kB / 472.8 MB, free: 10.64 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008432/0.1547, allocations: 0.6375 MB / 473.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.1547, allocations: 12.03 kB / 473.5 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.1548, allocations: 34.75 kB / 473.5 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.1548, allocations: 52.25 kB / 473.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.1552, allocations: 292.2 kB / 473.8 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1552, allocations: 4.375 kB / 473.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.1552, allocations: 12.28 kB / 473.9 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.1554, allocations: 69.55 kB / 473.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1554, allocations: 0 / 473.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.1554, allocations: 0 / 473.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1554, allocations: 0 / 473.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.1556, allocations: 35.97 kB / 474 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005415/0.1561, allocations: 412.5 kB / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1562, allocations: 50.56 kB / 474.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.899e-05/0.1563, allocations: 16.94 kB / 474.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.1563, allocations: 0 / 474.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1563, allocations: 34.56 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1564, allocations: 0 / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009833/0.1573, allocations: 323.9 kB / 474.8 MB, free: 8.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.1574, allocations: 55.34 kB / 474.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008252/0.1582, allocations: 0.8691 MB / 475.7 MB, free: 7.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1583, allocations: 25.7 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.1585, allocations: 220 kB / 475.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.1585, allocations: 35.62 kB / 476 MB, free: 7.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.1585, allocations: 21.72 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1587, allocations: 362.8 kB / 476.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.585e-05/0.1588, allocations: 27.98 kB / 476.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.1589, allocations: 35.97 kB / 476.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001538/0.159, allocations: 68.83 kB / 476.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.159, allocations: 7.984 kB / 476.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002432/0.1593, allocations: 149 kB / 476.6 MB, free: 6.586 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1593, allocations: 4 kB / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1593, allocations: 0 / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.1593, allocations: 0 / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1594, allocations: 27.92 kB / 476.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1595, allocations: 0 / 476.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.1595, allocations: 4 kB / 476.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1595, allocations: 0 / 476.7 MB, free: 6.551 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 (8): * Single equations (assignments): 8 * 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.0001951/0.1597, allocations: 225.7 kB / 476.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.1598, allocations: 43.38 kB / 476.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/0.1601, allocations: 182.1 kB / 477.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1602, allocations: 3.938 kB / 477.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1602, allocations: 0 / 477.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1602, allocations: 0 / 477.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006451/0.1608, allocations: 0.5227 MB / 477.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1608, allocations: 0 / 477.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.405e-05/0.1609, allocations: 19.98 kB / 477.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1609, allocations: 0 / 477.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1609, allocations: 8 kB / 477.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1609, allocations: 0 / 477.7 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.161, allocations: 8.016 kB / 477.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.1613, allocations: 247.7 kB / 477.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/0.1613, allocations: 108.5 kB / 478 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.1614, allocations: 7.984 kB / 478 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.1615, allocations: 8 kB / 478 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.1615, allocations: 11.98 kB / 478 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.1615, allocations: 0 / 478 MB, free: 5.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005995/0.1621, allocations: 0.655 MB / 478.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1621, allocations: 0 / 478.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1624, allocations: 27.98 kB / 478.7 MB, free: 4.375 MB / 350.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 (8): * Single equations (assignments): 8 * 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.001513/0.1639, allocations: 1.133 MB / 479.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1642, allocations: 79.89 kB / 479.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1642, allocations: 0 / 479.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.225e-05/0.1643, allocations: 47.95 kB / 480 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1647, allocations: 34.17 kB / 480 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.1684, allocations: 3.453 MB / 483.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.1688, allocations: 0.8376 MB / 484.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.993e-05/0.1689, allocations: 28.72 kB / 484.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.169, allocations: 115.4 kB / 484.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.169, allocations: 0 / 484.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.1963, allocations: 6.125 MB / 490.6 MB, free: 8.668 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.1965, allocations: 243.8 kB / 490.8 MB, free: 8.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.137, allocations: 4.062 kB / 490.8 MB, free: 8.398 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches