Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.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.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00179/0.001791, 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.002045/0.002045, 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.408/1.408, allocations: 227.4 MB / 246.3 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2202/0.2202, allocations: 46.11 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 68.33 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1393, allocations: 62.45 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003729/0.1431, allocations: 1.68 MB / 481.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1442, allocations: 0.5417 MB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.1443, allocations: 0 / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1446, allocations: 79.77 kB / 481.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.145, allocations: 83.78 kB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.1454, allocations: 103.1 kB / 481.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.1456, allocations: 79.81 kB / 481.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1457, allocations: 12 kB / 482 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.485e-05/0.1458, allocations: 35.84 kB / 482 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.1459, allocations: 55.81 kB / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.146, allocations: 0 / 482 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1461, allocations: 47.92 kB / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.1462, allocations: 27.91 kB / 482.1 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.001e-05/0.1462, allocations: 31.75 kB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.1464, allocations: 108 kB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1464, allocations: 3.938 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1465, allocations: 0 / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.1465, allocations: 0 / 482.3 MB, free: 2.762 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.0005245/0.147, allocations: 407 kB / 482.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.147, allocations: 8.875 kB / 482.7 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.856e-05/0.1471, allocations: 38.73 kB / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.1472, allocations: 12.84 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1474, allocations: 204.7 kB / 482.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.1474, allocations: 384 / 482.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.1474, allocations: 8.375 kB / 482.9 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1476, allocations: 53.61 kB / 483 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1476, allocations: 7.906 kB / 483 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1476, allocations: 4 kB / 483 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.1476, allocations: 7.984 kB / 483 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1477, allocations: 23.98 kB / 483 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.1482, allocations: 308.7 kB / 483.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1483, allocations: 42.56 kB / 483.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.1484, allocations: 20.94 kB / 483.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1484, allocations: 0 / 483.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1485, allocations: 34.56 kB / 483.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1485, allocations: 4 kB / 483.4 MB, free: 1.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009449/0.1494, allocations: 253.2 kB / 483.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.1495, allocations: 63.33 kB / 483.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.1497, allocations: 214.8 kB / 483.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1497, allocations: 25.7 kB / 484 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.1498, allocations: 112.1 kB / 484.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.1498, allocations: 19.62 kB / 484.1 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/0.1499, allocations: 21.72 kB / 484.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.15, allocations: 326.8 kB / 484.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.1501, allocations: 27.98 kB / 484.5 MB, free: 340 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.377e-05/0.1502, allocations: 35.97 kB / 484.5 MB, free: 304 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.1504, allocations: 72.83 kB / 484.6 MB, free: 228 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1504, allocations: 0 / 484.6 MB, free: 228 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002195/0.1506, allocations: 109.5 kB / 484.7 MB, free: 112 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1506, allocations: 4 kB / 484.7 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1506, allocations: 0 / 484.7 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1506, allocations: 7.984 kB / 484.7 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.764e-05/0.1508, allocations: 16 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1508, allocations: 3.938 kB / 484.7 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.1508, allocations: 7.984 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1508, allocations: 4 kB / 484.7 MB, free: 68 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.0001327/0.151, allocations: 125.8 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.151, allocations: 11.81 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.1513, allocations: 142.9 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1513, allocations: 3.984 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.991e-05/0.1514, allocations: 3.938 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1514, allocations: 0 / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.152, allocations: 419.7 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.152, allocations: 0 / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.43e-05/0.1521, allocations: 23.95 kB / 485.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1521, allocations: 0 / 485.4 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1521, allocations: 12 kB / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1521, allocations: 0 / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1521, allocations: 0 / 485.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.1524, allocations: 216.2 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.622e-05/0.1525, allocations: 96.94 kB / 485.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.1525, allocations: 7.938 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.1526, allocations: 0 / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1526, allocations: 7.984 kB / 485.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.1526, allocations: 4 kB / 485.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001477/0.1528, allocations: 168.7 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1528, allocations: 0 / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.153, allocations: 16 kB / 485.9 MB, free: 14.72 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.001568/0.1546, allocations: 1.09 MB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.1549, allocations: 75.94 kB / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1549, allocations: 0 / 487.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.155, allocations: 43.91 kB / 487.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.1554, allocations: 13.12 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.1575, allocations: 1.731 MB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.1578, allocations: 0.7121 MB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.045e-05/0.1579, allocations: 20.95 kB / 489.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/0.1579, allocations: 39.42 kB / 489.7 MB, free: 11.03 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1579, allocations: 4 kB / 489.7 MB, free: 11.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.1723, allocations: 2.898 MB / 492.6 MB, free: 8.203 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.1726, allocations: 242.4 kB / 492.8 MB, free: 7.941 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.081, allocations: 3.938 kB / 492.8 MB, free: 7.938 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test26.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches