Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007123/0.0007123, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008212/0.0008212, allocations: 201.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2476/0.2476, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003592, allocations: 12 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1538, allocations: 63.56 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002457/0.1563, allocations: 1.45 MB / 484.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1582, allocations: 0.9926 MB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.1583, allocations: 0 / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.1587, allocations: 35.84 kB / 485.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.159, allocations: 79.73 kB / 485.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.1593, allocations: 63.88 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.1595, allocations: 99.62 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1597, allocations: 12 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1598, allocations: 39.78 kB / 486 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.973e-05/0.1599, allocations: 31.8 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1599, allocations: 4 kB / 486 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1601, allocations: 39.98 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.1601, allocations: 23.84 kB / 486.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.433e-05/0.1602, allocations: 61.44 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.1604, allocations: 111.9 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.1605, allocations: 4 kB / 486.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1605, allocations: 0 / 486.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1605, allocations: 0 / 486.2 MB, free: 0.9961 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.0006142/0.1611, allocations: 399.1 kB / 486.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1612, allocations: 12.88 kB / 486.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.85e-05/0.1612, allocations: 46.67 kB / 486.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.1613, allocations: 8.844 kB / 486.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.1615, allocations: 218.5 kB / 486.9 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1616, allocations: 384 / 486.9 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.541e-05/0.1616, allocations: 11.94 kB / 486.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.1617, allocations: 49.67 kB / 487 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1618, allocations: 0 / 487 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1618, allocations: 4 kB / 487 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1618, allocations: 3.984 kB / 487 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.883e-05/0.1619, allocations: 23.98 kB / 487 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.1623, allocations: 284.8 kB / 487.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.1625, allocations: 62.61 kB / 487.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.316e-05/0.1626, allocations: 16.86 kB / 487.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1626, allocations: 8 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.1628, allocations: 63.39 kB / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.1628, allocations: 0 / 487.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005767/0.1634, allocations: 169.2 kB / 487.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.1635, allocations: 55.41 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1637, allocations: 198.7 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.1637, allocations: 29.7 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.1638, allocations: 108.1 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.1638, allocations: 27.69 kB / 488 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.1638, allocations: 13.72 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.164, allocations: 322.8 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.908e-05/0.164, allocations: 23.98 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.236e-05/0.1641, allocations: 33.7 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.1642, allocations: 57.72 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1642, allocations: 0 / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001908/0.1644, allocations: 109.5 kB / 488.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.1644, allocations: 8 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1645, allocations: 0 / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1645, allocations: 384 / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.936e-05/0.1646, allocations: 15.98 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1646, allocations: 7.938 kB / 488.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.032e-05/0.1646, allocations: 7.938 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1647, allocations: 12.03 kB / 488.6 MB, free: 14.39 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.0001052/0.1648, allocations: 122 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.1648, allocations: 11.91 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.1649, allocations: 21.28 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1649, allocations: 0 / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1649, allocations: 0 / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1649, allocations: 3.938 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.1653, allocations: 403.2 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1654, allocations: 0 / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.1654, allocations: 12 kB / 489.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.1654, allocations: 7.938 kB / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1654, allocations: 0 / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1654, allocations: 0 / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1654, allocations: 0 / 489.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.1657, allocations: 208.2 kB / 489.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.1657, allocations: 92.92 kB / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.1658, allocations: 3.938 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.1659, allocations: 7.984 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.1659, allocations: 4 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.1659, allocations: 4 kB / 489.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1661, allocations: 152.7 kB / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1661, allocations: 0 / 489.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.1663, allocations: 35.98 kB / 489.7 MB, free: 13.21 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.001494/0.1678, allocations: 1.092 MB / 490.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.168, allocations: 59.89 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.168, allocations: 4 kB / 490.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.638e-05/0.1681, allocations: 24 kB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1685, allocations: 27.97 kB / 490.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1703, allocations: 1.666 MB / 492.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.1705, allocations: 0.7121 MB / 493.2 MB, free: 9.652 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.1706, allocations: 16.88 kB / 493.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.483e-05/0.1707, allocations: 39.41 kB / 493.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of SimCode: time 3.076e-06/0.1707, allocations: 0 / 493.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.1852, allocations: 3.012 MB / 496.3 MB, free: 6.711 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.1854, allocations: 229.3 kB / 496.5 MB, free: 6.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/1.946, allocations: 8 kB / 496.5 MB, free: 6.453 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches