Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001582/0.001582, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001445/0.001445, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.09 MB / 344.1 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 77.97 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.145, allocations: 62.45 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003711/0.1487, allocations: 1.919 MB / 482.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.1508, allocations: 1.129 MB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.151, allocations: 7.938 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004802/0.1515, allocations: 219.4 kB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005543/0.1521, allocations: 219.2 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.1524, allocations: 115.6 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.1528, allocations: 255.3 kB / 484 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1529, allocations: 25.67 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.1531, allocations: 119.5 kB / 484.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.1534, allocations: 155.5 kB / 484.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.1534, allocations: 12 kB / 484.3 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.1536, allocations: 67.97 kB / 484.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.96e-05/0.1537, allocations: 59.7 kB / 484.4 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.1538, allocations: 91.34 kB / 484.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.1541, allocations: 235.4 kB / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1541, allocations: 0 / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1541, allocations: 0 / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1541, allocations: 0 / 484.7 MB, free: 0.5664 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008156/0.155, allocations: 0.576 MB / 485.3 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.155, allocations: 12.03 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.1551, allocations: 38.75 kB / 485.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.817e-05/0.1551, allocations: 24.66 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.1555, allocations: 284 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.1555, allocations: 8.312 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.1556, allocations: 15.92 kB / 485.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.1558, allocations: 111.2 kB / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1559, allocations: 0 / 485.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1559, allocations: 11.98 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1559, allocations: 4 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.1561, allocations: 39.97 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.1567, allocations: 480.7 kB / 486.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.1571, allocations: 129.2 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1572, allocations: 41.83 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.1573, allocations: 3.984 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003142/0.1576, allocations: 120.9 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.1576, allocations: 0 / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001488/0.1591, allocations: 0.4968 MB / 487.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.334e-05/0.1592, allocations: 81.09 kB / 487.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/0.1597, allocations: 448.5 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1597, allocations: 33.7 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.1598, allocations: 160.5 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.06e-05/0.1599, allocations: 67.09 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/0.16, allocations: 41.7 kB / 487.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1601, allocations: 342.8 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1602, allocations: 55.97 kB / 488.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1604, allocations: 95.39 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.1607, allocations: 167.4 kB / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1607, allocations: 0 / 488.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003863/0.1611, allocations: 229.1 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1611, allocations: 14.23 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1611, allocations: 4 kB / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.1611, allocations: 0 / 488.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1613, allocations: 47.92 kB / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1613, allocations: 0 / 488.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.65e-05/0.1614, allocations: 11.98 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.1614, allocations: 8 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000151/0.1616, allocations: 165.8 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.1616, allocations: 39.47 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.287e-05/0.1617, allocations: 51.03 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1617, allocations: 4 kB / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1617, allocations: 0 / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1617, allocations: 0 / 489.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008789/0.1626, allocations: 0.7428 MB / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/0.1627, allocations: 4 kB / 489.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.497e-05/0.1627, allocations: 31.92 kB / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1628, allocations: 0 / 489.9 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.1628, allocations: 11.98 kB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.1628, allocations: 4 kB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1628, allocations: 3.938 kB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.1633, allocations: 420.8 kB / 490.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/0.1634, allocations: 104.7 kB / 490.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.1635, allocations: 8 kB / 490.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.1636, allocations: 8 kB / 490.4 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.1637, allocations: 27.84 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.1637, allocations: 19.94 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003514/0.1641, allocations: 327 kB / 490.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1641, allocations: 4 kB / 490.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003813/0.1645, allocations: 51.98 kB / 490.9 MB, free: 10 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001793/0.1663, allocations: 1.344 MB / 492.2 MB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003472/0.1666, allocations: 175.9 kB / 492.4 MB, free: 8.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1667, allocations: 3.938 kB / 492.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.1668, allocations: 83.84 kB / 492.5 MB, free: 8.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.1674, allocations: 68.58 kB / 492.5 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.1709, allocations: 2.881 MB / 495.4 MB, free: 5.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.1714, allocations: 0.7824 MB / 496.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001471/0.1715, allocations: 41.92 kB / 496.2 MB, free: 4.629 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.1717, allocations: 99.39 kB / 496.3 MB, free: 4.531 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1717, allocations: 3.938 kB / 496.3 MB, free: 4.527 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.1955, allocations: 6.315 MB / 0.4909 GB, free: 14.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/7.715, allocations: 7.875 kB / 0.4909 GB, free: 14.29 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches