Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, 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.001852/0.001852, 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.496/1.496, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 74.25 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1416, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003757/0.1454, allocations: 1.925 MB / 482.1 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00274/0.1482, allocations: 1.119 MB / 483.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.1484, allocations: 7.938 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005694/0.1491, allocations: 159.5 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000765/0.1499, allocations: 183.2 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005114/0.1504, allocations: 115.6 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000543/0.1509, allocations: 239.3 kB / 483.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.1511, allocations: 37.66 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.1514, allocations: 111.5 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1517, allocations: 131.5 kB / 484.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.542e-05/0.1517, allocations: 8 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.1519, allocations: 63.98 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.152, allocations: 47.77 kB / 484.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1521, allocations: 87.36 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000407/0.1525, allocations: 227.5 kB / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1526, allocations: 4 kB / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1526, allocations: 0 / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1526, allocations: 0 / 484.6 MB, free: 0.7383 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.0008231/0.1534, allocations: 0.5293 MB / 485.1 MB, free: 164 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1535, allocations: 15.97 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.873e-05/0.1535, allocations: 38.69 kB / 485.2 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.1536, allocations: 24.66 kB / 485.2 MB, free: 76 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.1542, allocations: 279.5 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1543, allocations: 12.38 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.927e-05/0.1543, allocations: 7.938 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.1546, allocations: 111.3 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1546, allocations: 4 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1546, allocations: 4 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.1546, allocations: 0 / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.1548, allocations: 43.95 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006752/0.1555, allocations: 484.6 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.1559, allocations: 117.2 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.1562, allocations: 49.81 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.1562, allocations: 0 / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.1565, allocations: 113.1 kB / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.1565, allocations: 0 / 486.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001377/0.1579, allocations: 0.4923 MB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.158, allocations: 81.11 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.1584, allocations: 367.3 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1585, allocations: 33.7 kB / 487.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1586, allocations: 156.3 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/0.1587, allocations: 67.09 kB / 487.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/0.1588, allocations: 45.7 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.159, allocations: 346.8 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1591, allocations: 51.98 kB / 488 MB, free: 13.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.1593, allocations: 95.39 kB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.1596, allocations: 159.5 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1596, allocations: 0 / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004104/0.1601, allocations: 237 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.1601, allocations: 8 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1601, allocations: 0 / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1601, allocations: 4 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1603, allocations: 35.98 kB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.1603, allocations: 7.938 kB / 488.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.1604, allocations: 16.05 kB / 488.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.1604, allocations: 12 kB / 488.6 MB, free: 12.45 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.0002271/0.1606, allocations: 149.8 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.1607, allocations: 35.55 kB / 488.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.107e-05/0.1608, allocations: 38.77 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1608, allocations: 0 / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.1608, allocations: 4 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1608, allocations: 3.938 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008982/0.1617, allocations: 0.7232 MB / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1617, allocations: 0 / 489.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.966e-05/0.1618, allocations: 31.92 kB / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1618, allocations: 4.125 kB / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.1619, allocations: 15.98 kB / 489.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1619, allocations: 0 / 489.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.1619, allocations: 7.938 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.1624, allocations: 421.3 kB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.936e-05/0.1626, allocations: 96.83 kB / 490.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.107e-05/0.1626, allocations: 8 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1628, allocations: 11.98 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.1629, allocations: 19.92 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.1629, allocations: 8 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003858/0.1633, allocations: 285.9 kB / 490.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1633, allocations: 3.938 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000424/0.1637, allocations: 48 kB / 490.4 MB, free: 10.44 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.002532/0.1663, allocations: 1.357 MB / 491.8 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004206/0.1667, allocations: 167.8 kB / 492 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.1667, allocations: 4 kB / 492 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.1669, allocations: 88.02 kB / 492.1 MB, free: 8.977 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005944/0.1675, allocations: 58.03 kB / 492.1 MB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.1718, allocations: 2.714 MB / 494.8 MB, free: 6.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.1725, allocations: 0.7752 MB / 495.6 MB, free: 5.285 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.1726, allocations: 41.84 kB / 495.6 MB, free: 5.246 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.1728, allocations: 87.41 kB / 495.7 MB, free: 5.16 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1728, allocations: 0 / 495.7 MB, free: 5.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.2015, allocations: 5.982 MB / 0.49 GB, free: 15.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/7.755, allocations: 3.938 kB / 0.49 GB, free: 15.26 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches