Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001266, allocations: 115.4 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001662/0.001662, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2469/0.2469, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001636, allocations: 71.09 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1543, allocations: 62.45 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.004332/0.1586, allocations: 1.789 MB / 481.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.1607, allocations: 1.006 MB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.1609, allocations: 4 kB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004474/0.1613, allocations: 39.83 kB / 482.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004543/0.1619, allocations: 79.75 kB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.1622, allocations: 59.88 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.1624, allocations: 111.6 kB / 482.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1626, allocations: 11.98 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1627, allocations: 43.8 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.1628, allocations: 31.78 kB / 482.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.1628, allocations: 4 kB / 482.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.163, allocations: 47.97 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.1631, allocations: 19.92 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.14e-05/0.1632, allocations: 35.75 kB / 482.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.1635, allocations: 111.9 kB / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.1635, allocations: 0 / 483 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.1635, allocations: 7.938 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.1635, allocations: 0 / 483 MB, free: 2.094 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007199/0.1642, allocations: 411 kB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.1643, allocations: 8.031 kB / 483.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.984e-05/0.1644, allocations: 30.75 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.1644, allocations: 16.75 kB / 483.5 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.1647, allocations: 208.1 kB / 483.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1648, allocations: 8.312 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1648, allocations: 3.938 kB / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001921/0.165, allocations: 57.67 kB / 483.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.165, allocations: 7.984 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.165, allocations: 0 / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1651, allocations: 0 / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.347e-05/0.1652, allocations: 15.98 kB / 483.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.1656, allocations: 288.9 kB / 484 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.1659, allocations: 62.62 kB / 484.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.962e-05/0.1659, allocations: 20.84 kB / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.166, allocations: 0 / 484.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.1662, allocations: 67.39 kB / 484.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1662, allocations: 0 / 484.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006516/0.1669, allocations: 181.2 kB / 484.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.167, allocations: 55.34 kB / 484.4 MB, free: 500 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1672, allocations: 181.9 kB / 484.6 MB, free: 308 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.1672, allocations: 33.69 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.1673, allocations: 104 kB / 484.7 MB, free: 160 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.1673, allocations: 27.64 kB / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.1674, allocations: 21.72 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1675, allocations: 322.8 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.1676, allocations: 27.92 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.092e-05/0.1677, allocations: 38.08 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.1678, allocations: 57.7 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1678, allocations: 0 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00021/0.1681, allocations: 101.5 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.1681, allocations: 6.656 kB / 485.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1681, allocations: 4.031 kB / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1681, allocations: 0 / 485.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1682, allocations: 19.98 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1682, allocations: 0 / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.1683, allocations: 7.938 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1683, allocations: 7.938 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001214/0.1685, allocations: 124.5 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.1685, allocations: 11.81 kB / 485.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.771e-05/0.1686, allocations: 17.41 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1686, allocations: 4 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1686, allocations: 0 / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1686, allocations: 3.938 kB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.1691, allocations: 395.3 kB / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1691, allocations: 0 / 485.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.1692, allocations: 12 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.1692, allocations: 3.938 kB / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1692, allocations: 0 / 485.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.1692, allocations: 8.031 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1692, allocations: 240 / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.1696, allocations: 208.2 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.1697, allocations: 92.92 kB / 486.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.1697, allocations: 3.938 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.1698, allocations: 4 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1698, allocations: 11.92 kB / 486.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.1698, allocations: 8 kB / 486.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.17, allocations: 141.8 kB / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.17, allocations: 192 / 486.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.1703, allocations: 24 kB / 486.4 MB, free: 14.34 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001655/0.1719, allocations: 1.073 MB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1721, allocations: 63.91 kB / 487.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1722, allocations: 4.062 kB / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.1722, allocations: 31.91 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.1726, allocations: 47.09 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.1746, allocations: 1.635 MB / 489.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.175, allocations: 0.704 MB / 490 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.681e-05/0.1751, allocations: 24.86 kB / 490 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.512e-05/0.1751, allocations: 39.36 kB / 490 MB, free: 10.74 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1751, allocations: 0 / 490 MB, free: 10.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.1924, allocations: 3.209 MB / 493.2 MB, free: 7.645 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004248/0.1929, allocations: 237.3 kB / 493.5 MB, free: 7.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.128, allocations: 3.938 kB / 493.5 MB, free: 7.383 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches