Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001977/0.001977, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.477/1.477, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 85.12 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1264, allocations: 62.45 MB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003594/0.1301, allocations: 1.673 MB / 481.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1313, allocations: 0.5496 MB / 481.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.2e-05/0.1314, allocations: 4 kB / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.1321, allocations: 459.1 kB / 482.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.1325, allocations: 279.5 kB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004752/0.133, allocations: 151.1 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.1333, allocations: 167.6 kB / 482.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1334, allocations: 19.94 kB / 482.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1336, allocations: 95.8 kB / 482.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.1338, allocations: 207.5 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.545e-05/0.1339, allocations: 4 kB / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-05/0.134, allocations: 19.98 kB / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1341, allocations: 87.69 kB / 483.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.249e-05/0.1342, allocations: 99 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.1345, allocations: 250.9 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1345, allocations: 4 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1345, allocations: 0 / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1345, allocations: 0 / 483.4 MB, free: 1.598 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007778/0.1353, allocations: 0.6377 MB / 484.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1354, allocations: 8.875 kB / 484.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.733e-05/0.1354, allocations: 34.75 kB / 484.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.736e-05/0.1355, allocations: 44.38 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.1358, allocations: 304.1 kB / 484.4 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.1358, allocations: 384 / 484.4 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1358, allocations: 4.375 kB / 484.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.136, allocations: 61.55 kB / 484.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.136, allocations: 0 / 484.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.136, allocations: 0 / 484.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.136, allocations: 4 kB / 484.5 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.344e-05/0.1361, allocations: 19.98 kB / 484.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.1367, allocations: 396.7 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.94e-05/0.1368, allocations: 34.5 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.1369, allocations: 16.92 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1369, allocations: 0 / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.137, allocations: 34.55 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.137, allocations: 4 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002853/0.1373, allocations: 97.2 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1373, allocations: 55.41 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008722/0.1382, allocations: 0.8737 MB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1382, allocations: 25.7 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.1384, allocations: 231.9 kB / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.1384, allocations: 7.984 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.1385, allocations: 17.84 kB / 486.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1386, allocations: 362.7 kB / 486.7 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.764e-05/0.1387, allocations: 11.98 kB / 486.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.1387, allocations: 7.984 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.214e-05/0.1388, allocations: 32.84 kB / 486.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1388, allocations: 0 / 486.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001588/0.139, allocations: 101.1 kB / 486.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.139, allocations: 8 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.139, allocations: 0 / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.139, allocations: 0 / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.1391, allocations: 15.91 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1391, allocations: 0 / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.1392, allocations: 4 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1392, allocations: 0 / 486.8 MB, free: 13.95 MB / 366.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 (2): * Single equations (assignments): 2 * 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.0001979/0.1394, allocations: 217.7 kB / 487 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.1395, allocations: 47.44 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1397, allocations: 100.8 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.1397, allocations: 3.984 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1397, allocations: 0 / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1397, allocations: 0 / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.14, allocations: 289.5 kB / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1401, allocations: 0 / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.1401, allocations: 4 kB / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1401, allocations: 7.969 kB / 487.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1401, allocations: 7.984 kB / 487.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1401, allocations: 0 / 487.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1401, allocations: 4 kB / 487.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.1404, allocations: 190.9 kB / 487.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.914e-05/0.1405, allocations: 112.5 kB / 487.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.1405, allocations: 0 / 487.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.1406, allocations: 8.031 kB / 487.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.1406, allocations: 0 / 487.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1406, allocations: 0 / 487.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007047/0.1413, allocations: 0.6667 MB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1413, allocations: 0 / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1416, allocations: 19.92 kB / 488.5 MB, free: 12.19 MB / 366.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 (2): * Single equations (assignments): 2 * 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.001298/0.1429, allocations: 0.9621 MB / 489.5 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.1431, allocations: 23.98 kB / 489.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1431, allocations: 4 kB / 489.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.33e-05/0.1431, allocations: 11.98 kB / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.1435, allocations: 27.7 kB / 489.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/0.1471, allocations: 3.278 MB / 492.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.1475, allocations: 0.8262 MB / 493.6 MB, free: 7.023 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.762e-05/0.1476, allocations: 16.05 kB / 493.6 MB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.1477, allocations: 111.4 kB / 493.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1477, allocations: 0 / 493.7 MB, free: 6.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.1662, allocations: 5.529 MB / 499.3 MB, free: 1.445 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.1664, allocations: 226.5 kB / 499.5 MB, free: 1.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.943/2.109, allocations: 8.062 kB / 499.5 MB, free: 1.188 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches