Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.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.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001104/0.001105, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2309/0.2309, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 82.03 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1463, allocations: 62.44 MB / 480.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.00396/0.1503, allocations: 1.616 MB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1516, allocations: 0.5494 MB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1517, allocations: 0 / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.1521, allocations: 99.67 kB / 482.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003809/0.1525, allocations: 111.6 kB / 482.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.1529, allocations: 103.7 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.1531, allocations: 87.8 kB / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.1532, allocations: 19.98 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.057e-05/0.1533, allocations: 43.84 kB / 482.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.1534, allocations: 55.81 kB / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1535, allocations: 0 / 482.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1536, allocations: 47.98 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.958e-05/0.1537, allocations: 23.91 kB / 482.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.1537, allocations: 31.69 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.154, allocations: 108 kB / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.154, allocations: 0 / 483 MB, free: 2.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.154, allocations: 4 kB / 483 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.154, allocations: 3.938 kB / 483 MB, free: 2.312 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.0006175/0.1547, allocations: 426.8 kB / 483.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1547, allocations: 8.031 kB / 483.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.1548, allocations: 38.75 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.1548, allocations: 12.75 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.1551, allocations: 200.1 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1551, allocations: 4.375 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.1551, allocations: 384 / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.1553, allocations: 65.61 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1553, allocations: 3.938 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1553, allocations: 0 / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1553, allocations: 0 / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1555, allocations: 27.97 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.1559, allocations: 300.7 kB / 484.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.156, allocations: 58.48 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.1561, allocations: 12.86 kB / 484.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.1561, allocations: 96 / 484.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.1562, allocations: 38.55 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.1562, allocations: 0 / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009121/0.1571, allocations: 241 kB / 484.4 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.1571, allocations: 55.41 kB / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.1574, allocations: 235.1 kB / 484.7 MB, free: 432 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1574, allocations: 25.7 kB / 484.7 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.1575, allocations: 104.1 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.1575, allocations: 39.5 kB / 484.9 MB, free: 252 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.1576, allocations: 25.7 kB / 484.9 MB, free: 220 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1577, allocations: 326.8 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-05/0.1578, allocations: 23.98 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.878e-05/0.1579, allocations: 36.03 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1581, allocations: 72.77 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1581, allocations: 7.938 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002428/0.1583, allocations: 113.5 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1583, allocations: 8 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1584, allocations: 0 / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.1584, allocations: 0 / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1585, allocations: 19.98 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1585, allocations: 3.938 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.1585, allocations: 4 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1586, allocations: 11.94 kB / 485.5 MB, free: 15.58 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 (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 9.763e-05/0.1587, allocations: 129.8 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.633e-05/0.1587, allocations: 11.81 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.159, allocations: 131.5 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.159, allocations: 4 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.159, allocations: 3.938 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.159, allocations: 3.984 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005355/0.1596, allocations: 427.2 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1596, allocations: 4 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.1597, allocations: 23.86 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1597, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1597, allocations: 4 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1597, allocations: 0 / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1597, allocations: 4.031 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.16, allocations: 212.7 kB / 486.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.16, allocations: 92.86 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.1601, allocations: 4 kB / 486.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.1601, allocations: 7.984 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.1602, allocations: 11.94 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1602, allocations: 4 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.1604, allocations: 180.3 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1604, allocations: 0 / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1606, allocations: 16 kB / 486.8 MB, free: 14.22 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.001538/0.1622, allocations: 1.1 MB / 487.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.1624, allocations: 83.89 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1624, allocations: 0 / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.1625, allocations: 43.91 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1629, allocations: 18.98 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1649, allocations: 1.743 MB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1652, allocations: 0.7197 MB / 490.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.28e-05/0.1653, allocations: 24.89 kB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.916e-05/0.1653, allocations: 35.42 kB / 490.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1653, allocations: 0 / 490.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.1871, allocations: 3.159 MB / 493.7 MB, free: 7.383 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.418/7.605, allocations: 20.34 kB / 493.7 MB, free: 7.367 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test5.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches