Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001192, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2339/0.2339, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 77.28 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1472, allocations: 62.44 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.004045/0.1513, allocations: 1.929 MB / 482.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.1536, allocations: 1.123 MB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.1538, allocations: 7.938 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.1545, allocations: 255.3 kB / 483.4 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.1551, allocations: 231.2 kB / 483.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.1555, allocations: 115.6 kB / 483.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.156, allocations: 267.3 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1562, allocations: 29.67 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.1564, allocations: 131.5 kB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.1567, allocations: 191.4 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.1567, allocations: 8 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.1569, allocations: 63.97 kB / 484.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.157, allocations: 71.69 kB / 484.5 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1572, allocations: 95.23 kB / 484.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.1576, allocations: 247.4 kB / 484.9 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.1576, allocations: 0 / 484.9 MB, free: 432 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1576, allocations: 0 / 484.9 MB, free: 432 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.1576, allocations: 0 / 484.9 MB, free: 432 kB / 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.0008272/0.1585, allocations: 0.5874 MB / 485.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1585, allocations: 8.031 kB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.1586, allocations: 38.75 kB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.1586, allocations: 28.56 kB / 485.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.159, allocations: 294.4 kB / 485.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.1591, allocations: 8.359 kB / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.453e-05/0.1591, allocations: 15.88 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.1594, allocations: 107.3 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1594, allocations: 7.906 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.1594, allocations: 4 kB / 485.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1594, allocations: 4 kB / 486 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.1596, allocations: 39.97 kB / 486 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006853/0.1603, allocations: 488.6 kB / 486.5 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.1607, allocations: 129.2 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1608, allocations: 45.81 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.551e-05/0.1609, allocations: 4 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.1612, allocations: 128.5 kB / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.1612, allocations: 0 / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001465/0.1627, allocations: 0.5083 MB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.1628, allocations: 81.11 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005602/0.1634, allocations: 0.4938 MB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1634, allocations: 29.7 kB / 487.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.1635, allocations: 164.5 kB / 488 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.1636, allocations: 75 kB / 488.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.891e-05/0.1637, allocations: 41.7 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1639, allocations: 350.8 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.164, allocations: 55.97 kB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.1642, allocations: 95.34 kB / 488.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.1645, allocations: 159.3 kB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1645, allocations: 0 / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004068/0.1649, allocations: 241.2 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1649, allocations: 8.062 kB / 489 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1649, allocations: 4 kB / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1649, allocations: 0 / 489 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1651, allocations: 43.92 kB / 489.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.1651, allocations: 3.984 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.733e-05/0.1652, allocations: 8 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.1652, allocations: 12 kB / 489.1 MB, free: 11.88 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.0001636/0.1654, allocations: 169.8 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.1655, allocations: 39.56 kB / 489.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.383e-05/0.1655, allocations: 46.88 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1656, allocations: 0 / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.1656, allocations: 4 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1656, allocations: 0 / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009222/0.1665, allocations: 0.7389 MB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1665, allocations: 3.938 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.076e-05/0.1666, allocations: 27.98 kB / 490.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.291e-06/0.1666, allocations: 8 kB / 490.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/0.1667, allocations: 12.17 kB / 490.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1667, allocations: 4 kB / 490.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.1667, allocations: 7.875 kB / 490.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.1672, allocations: 429.1 kB / 490.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.1673, allocations: 100.7 kB / 490.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.1674, allocations: 8 kB / 490.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1675, allocations: 15.98 kB / 490.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.1676, allocations: 23.86 kB / 490.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.1676, allocations: 12 kB / 490.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000405/0.168, allocations: 375.1 kB / 491.1 MB, free: 9.746 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1681, allocations: 0 / 491.1 MB, free: 9.746 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004023/0.1685, allocations: 55.98 kB / 491.2 MB, free: 9.691 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.002256/0.1707, allocations: 1.355 MB / 492.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004408/0.1712, allocations: 171.7 kB / 492.7 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.1712, allocations: 0 / 492.7 MB, free: 8.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.1714, allocations: 87.78 kB / 492.8 MB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/0.172, allocations: 65.08 kB / 492.8 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.1769, allocations: 3.006 MB / 495.8 MB, free: 5.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005849/0.1775, allocations: 0.7908 MB / 496.6 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.1777, allocations: 41.91 kB / 496.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.1779, allocations: 111.3 kB / 496.8 MB, free: 4.078 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1779, allocations: 4 kB / 496.8 MB, free: 4.074 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.2062, allocations: 6.529 MB / 0.4915 GB, free: 13.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/7.7, allocations: 6.906 kB / 0.4915 GB, free: 13.62 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches