Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, 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.001465/0.001465, 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.455/1.455, 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.2395/0.2395, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 75.12 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1502, allocations: 62.45 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.004078/0.1543, allocations: 1.735 MB / 481.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1562, allocations: 1.013 MB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.1563, allocations: 4 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.1567, allocations: 43.77 kB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004171/0.1571, allocations: 95.53 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1575, allocations: 83.66 kB / 483.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.1577, allocations: 95.7 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.1579, allocations: 15.98 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.158, allocations: 39.8 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.1582, allocations: 39.78 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1582, allocations: 4 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.1584, allocations: 39.98 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/0.1585, allocations: 27.84 kB / 483.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.909e-05/0.1586, allocations: 31.75 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003336/0.1589, allocations: 123.9 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1589, allocations: 0 / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.159, allocations: 0 / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.159, allocations: 0 / 483.5 MB, free: 1.773 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.0007953/0.1598, allocations: 410.9 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.1598, allocations: 16.03 kB / 483.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.441e-05/0.1599, allocations: 30.75 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.16, allocations: 12.78 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.1603, allocations: 220.7 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1604, allocations: 4.375 kB / 484.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.1604, allocations: 7.922 kB / 484.2 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1606, allocations: 53.67 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1606, allocations: 3.906 kB / 484.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1606, allocations: 4 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.1606, allocations: 4 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.1607, allocations: 15.98 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.1612, allocations: 288.9 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.1614, allocations: 58.61 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.1615, allocations: 20.84 kB / 484.6 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1615, allocations: 4 kB / 484.6 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.1618, allocations: 67.39 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.1618, allocations: 0 / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005956/0.1624, allocations: 173.2 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.1624, allocations: 55.39 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.1627, allocations: 202.2 kB / 485.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1627, allocations: 33.7 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.1628, allocations: 96.14 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.1628, allocations: 27.64 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.1629, allocations: 21.72 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.163, allocations: 326.8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/0.1631, allocations: 19.98 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.1631, allocations: 33.7 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.1633, allocations: 65.69 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1633, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001853/0.1635, allocations: 101.4 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1635, allocations: 4 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1635, allocations: 0 / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1635, allocations: 4.375 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1636, allocations: 19.98 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1637, allocations: 3.938 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.1637, allocations: 15.97 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1637, allocations: 0 / 485.9 MB, free: 15.15 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.0001035/0.1638, allocations: 129.8 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.1639, allocations: 12.03 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.1639, allocations: 17.39 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1639, allocations: 7.938 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1639, allocations: 0 / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.164, allocations: 3.938 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005313/0.1645, allocations: 399.2 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1645, allocations: 0 / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.604e-05/0.1645, allocations: 11.98 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1646, allocations: 3.938 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1646, allocations: 4 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.1646, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1646, allocations: 0 / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.1649, allocations: 204.5 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.1649, allocations: 88.92 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.165, allocations: 3.938 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.165, allocations: 11.98 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1651, allocations: 4 kB / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1651, allocations: 0 / 486.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1653, allocations: 152.2 kB / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1653, allocations: 4 kB / 486.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002969/0.1656, allocations: 23.98 kB / 486.9 MB, free: 13.98 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.001567/0.1671, allocations: 1.101 MB / 488 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.1673, allocations: 67.91 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1674, allocations: 0 / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.1674, allocations: 27.98 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1678, allocations: 23.73 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.1697, allocations: 1.655 MB / 489.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.17, allocations: 0.7002 MB / 490.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.709e-05/0.1701, allocations: 21.17 kB / 490.5 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.1702, allocations: 39.42 kB / 490.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1702, allocations: 0 / 490.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02059/0.1908, allocations: 3.37 MB / 494 MB, free: 7.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.328/7.519, allocations: 30.19 kB / 494 MB, free: 7.055 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches