Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.00147, allocations: 105.3 kB / 16.4 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 192.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2218/0.2218, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 77.45 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1633, allocations: 57.79 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.0037/0.1671, allocations: 1.689 MB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1686, allocations: 0.7999 MB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1688, allocations: 4 kB / 0.4899 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004112/0.1692, allocations: 87.75 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.1695, allocations: 83.66 kB / 0.4901 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.1699, allocations: 91.69 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.1702, allocations: 103.8 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1703, allocations: 8.219 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.1705, allocations: 59.75 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.1706, allocations: 59.81 kB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.1706, allocations: 4 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.1708, allocations: 51.92 kB / 0.4904 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.1709, allocations: 35.84 kB / 0.4905 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.1709, allocations: 31.75 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.1712, allocations: 119.5 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1712, allocations: 0 / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1712, allocations: 0 / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1713, allocations: 0 / 0.4906 GB, free: 8.973 MB / 382.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.0006789/0.1719, allocations: 426.6 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.172, allocations: 15.89 kB / 0.491 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.187e-05/0.1721, allocations: 42.69 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.1721, allocations: 12.84 kB / 0.4911 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.1725, allocations: 212.1 kB / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1725, allocations: 4.375 kB / 0.4913 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.1725, allocations: 7.938 kB / 0.4913 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1727, allocations: 49.67 kB / 0.4914 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1727, allocations: 4 kB / 0.4914 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1728, allocations: 4 kB / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1728, allocations: 0 / 0.4914 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.1729, allocations: 27.92 kB / 0.4914 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.1733, allocations: 284.9 kB / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1735, allocations: 54.69 kB / 0.4917 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.1735, allocations: 24.83 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1736, allocations: 4 kB / 0.4917 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.1737, allocations: 71.33 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1738, allocations: 0 / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005935/0.1744, allocations: 181.5 kB / 0.492 GB, free: 7.395 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.1744, allocations: 51.41 kB / 0.492 GB, free: 7.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.1746, allocations: 230.5 kB / 0.4922 GB, free: 7.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1747, allocations: 25.7 kB / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.1747, allocations: 116.1 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.1748, allocations: 31.72 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.1748, allocations: 21.66 kB / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1749, allocations: 330.8 kB / 0.4927 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.297e-05/0.175, allocations: 16 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.1751, allocations: 37.83 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1752, allocations: 73.7 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1752, allocations: 0 / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001734/0.1754, allocations: 97.59 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1754, allocations: 4 kB / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1754, allocations: 3.984 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.1754, allocations: 0 / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.291e-05/0.1755, allocations: 19.94 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1755, allocations: 0 / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.894e-05/0.1756, allocations: 11.94 kB / 0.493 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1756, allocations: 4.031 kB / 0.493 GB, free: 6.273 MB / 382.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.0001132/0.1757, allocations: 133.8 kB / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.1758, allocations: 11.95 kB / 0.4931 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.1758, allocations: 17.39 kB / 0.4932 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1758, allocations: 4 kB / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/0.1759, allocations: 0 / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1759, allocations: 3.938 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.1763, allocations: 399.3 kB / 0.4935 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1763, allocations: 3.984 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.1764, allocations: 8 kB / 0.4936 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1764, allocations: 7.875 kB / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1764, allocations: 4 kB / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1764, allocations: 0 / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1764, allocations: 0 / 0.4936 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.1767, allocations: 204.3 kB / 0.4938 GB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.1768, allocations: 89.05 kB / 0.4939 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1769, allocations: 7.938 kB / 0.4939 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.1769, allocations: 4 kB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.177, allocations: 7.984 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.177, allocations: 4 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1771, allocations: 167.2 kB / 0.494 GB, free: 5.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1772, allocations: 0 / 0.494 GB, free: 5.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1774, allocations: 28.17 kB / 0.4941 GB, free: 5.078 MB / 382.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.001446/0.1789, allocations: 1.111 MB / 0.4951 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.1791, allocations: 59.91 kB / 0.4952 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1791, allocations: 4 kB / 0.4952 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.791e-05/0.1791, allocations: 23.94 kB / 0.4952 GB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.1795, allocations: 39.59 kB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.1814, allocations: 1.727 MB / 0.497 GB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1816, allocations: 0.7119 MB / 0.4976 GB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.179e-05/0.1817, allocations: 17.19 kB / 0.4977 GB, free: 1.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.1818, allocations: 35.42 kB / 0.4977 GB, free: 1.266 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1818, allocations: 0 / 0.4977 GB, free: 1.266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02036/0.2021, allocations: 3.533 MB / 0.5011 GB, free: 13.71 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.852, allocations: 11.91 kB / 0.5012 GB, free: 13.7 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches