Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.3 MB, free: 9.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.11 MB / 343.6 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 84.38 kB / 416.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1412, allocations: 62.46 MB / 479.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003575/0.1448, allocations: 1.665 MB / 481.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1459, allocations: 0.5339 MB / 481.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.146, allocations: 0 / 481.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.1463, allocations: 75.83 kB / 481.7 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.1466, allocations: 91.72 kB / 481.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.1468, allocations: 75.84 kB / 481.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.147, allocations: 83.75 kB / 481.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1471, allocations: 15.98 kB / 481.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.552e-05/0.1472, allocations: 35.89 kB / 482 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1473, allocations: 55.83 kB / 482 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1473, allocations: 0 / 482 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.671e-05/0.1474, allocations: 43.98 kB / 482.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.628e-05/0.1475, allocations: 23.86 kB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.1476, allocations: 35.72 kB / 482.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1477, allocations: 99.94 kB / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1478, allocations: 0 / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1478, allocations: 0 / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1478, allocations: 0 / 482.2 MB, free: 2.734 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005303/0.1483, allocations: 419 kB / 482.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.1484, allocations: 8.875 kB / 482.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.229e-05/0.1484, allocations: 38.75 kB / 482.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.1484, allocations: 8.844 kB / 482.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.1487, allocations: 198.7 kB / 482.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1487, allocations: 384 / 482.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.1487, allocations: 8.312 kB / 482.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1489, allocations: 57.61 kB / 482.9 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1489, allocations: 3.906 kB / 482.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.1489, allocations: 4 kB / 482.9 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1489, allocations: 4 kB / 483 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.447e-05/0.149, allocations: 23.98 kB / 483 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.1494, allocations: 300.7 kB / 483.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.1495, allocations: 50.44 kB / 483.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.1496, allocations: 20.86 kB / 483.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1496, allocations: 0 / 483.3 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1497, allocations: 34.64 kB / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1497, allocations: 0 / 483.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008972/0.1506, allocations: 225 kB / 483.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.1506, allocations: 51.41 kB / 483.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.1508, allocations: 210.8 kB / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1508, allocations: 29.64 kB / 483.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.1509, allocations: 112.1 kB / 484 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1509, allocations: 23.61 kB / 484 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.151, allocations: 25.66 kB / 484 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1511, allocations: 326.8 kB / 484.4 MB, free: 380 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.517e-05/0.1512, allocations: 28.05 kB / 484.4 MB, free: 352 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.914e-05/0.1513, allocations: 23.98 kB / 484.4 MB, free: 328 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001434/0.1514, allocations: 65.05 kB / 484.5 MB, free: 260 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1515, allocations: 0 / 484.5 MB, free: 260 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002003/0.1517, allocations: 101.6 kB / 484.6 MB, free: 152 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1517, allocations: 8 kB / 484.6 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1517, allocations: 0 / 484.6 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1517, allocations: 0 / 484.6 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.1518, allocations: 19.92 kB / 484.6 MB, free: 124 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1518, allocations: 3.938 kB / 484.6 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.1519, allocations: 4 kB / 484.6 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1519, allocations: 7.984 kB / 484.6 MB, free: 108 kB / 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.0001095/0.152, allocations: 129.8 kB / 484.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.1521, allocations: 16.23 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002839/0.1523, allocations: 118.9 kB / 484.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1524, allocations: 0 / 484.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.1524, allocations: 3.938 kB / 484.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.1524, allocations: 7.984 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.1529, allocations: 415.2 kB / 485.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1529, allocations: 0 / 485.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.87e-05/0.153, allocations: 15.94 kB / 485.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.153, allocations: 0 / 485.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.153, allocations: 7.984 kB / 485.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.153, allocations: 4 kB / 485.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.153, allocations: 0 / 485.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1533, allocations: 216.1 kB / 485.5 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.1534, allocations: 88.95 kB / 485.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.1534, allocations: 0 / 485.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.681e-05/0.1535, allocations: 4 kB / 485.6 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.1535, allocations: 7.984 kB / 485.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.1536, allocations: 4 kB / 485.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.1537, allocations: 168.7 kB / 485.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1537, allocations: 0 / 485.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.154, allocations: 27.98 kB / 485.8 MB, free: 14.79 MB / 366.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.001626/0.1556, allocations: 1.089 MB / 486.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.1558, allocations: 55.97 kB / 487 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1559, allocations: 0 / 487 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.874e-05/0.156, allocations: 43.91 kB / 487 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.1564, allocations: 16 kB / 487 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.1584, allocations: 1.676 MB / 488.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1587, allocations: 0.7043 MB / 489.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.323e-05/0.1588, allocations: 16.97 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.1589, allocations: 39.42 kB / 489.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1589, allocations: 3.938 kB / 489.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.1718, allocations: 2.861 MB / 492.3 MB, free: 8.391 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.172, allocations: 235.6 kB / 492.6 MB, free: 8.133 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.941/2.113, allocations: 4 kB / 492.6 MB, free: 8.129 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches