Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7",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.001207/0.001207, allocations: 105.6 kB / 16.41 MB, free: 6.484 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.001259/0.001259, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.425/1.425, allocations: 205.1 MB / 223.2 MB, free: 12.09 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.2436/0.2436, allocations: 43.52 MB / 314.1 MB, free: 448 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.001641/0.001641, allocations: 70.25 kB / 441.4 MB, free: 6.082 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.157, allocations: 57.8 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.005161/0.1623, allocations: 1.701 MB / 0.4891 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.164, allocations: 0.7923 MB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.1642, allocations: 7.938 kB / 0.4899 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.1649, allocations: 111.6 kB / 0.49 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.1653, allocations: 75.72 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.1658, allocations: 95.69 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003346/0.1661, allocations: 111.7 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.1663, allocations: 20.19 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.1665, allocations: 55.77 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.1667, allocations: 59.81 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.1667, allocations: 4 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.1669, allocations: 36 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.484e-05/0.167, allocations: 43.83 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.65e-05/0.1671, allocations: 31.75 kB / 0.4905 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.1675, allocations: 123.6 kB / 0.4906 GB, free: 8.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.1675, allocations: 4 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1675, allocations: 0 / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1675, allocations: 0 / 0.4907 GB, free: 8.926 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.0009729/0.1685, allocations: 434.8 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.132e-05/0.1686, allocations: 11.89 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.924e-05/0.1687, allocations: 34.75 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.978e-05/0.1687, allocations: 16.69 kB / 0.4911 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006058/0.1694, allocations: 220.8 kB / 0.4913 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.1694, allocations: 8.375 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.1694, allocations: 7.875 kB / 0.4914 GB, free: 8.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.1696, allocations: 53.67 kB / 0.4914 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1697, allocations: 4 kB / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1697, allocations: 0 / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1697, allocations: 0 / 0.4914 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.414e-05/0.1698, allocations: 19.98 kB / 0.4914 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.1703, allocations: 292.9 kB / 0.4917 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.1706, allocations: 58.62 kB / 0.4918 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.244e-05/0.1706, allocations: 20.84 kB / 0.4918 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.1707, allocations: 0 / 0.4918 GB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.1709, allocations: 63.39 kB / 0.4918 GB, free: 7.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1709, allocations: 4 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000697/0.1716, allocations: 185 kB / 0.492 GB, free: 7.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.1717, allocations: 51.41 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.172, allocations: 242.2 kB / 0.4923 GB, free: 7.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1721, allocations: 25.7 kB / 0.4923 GB, free: 6.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.591e-05/0.1722, allocations: 112.1 kB / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.792e-05/0.1722, allocations: 27.62 kB / 0.4925 GB, free: 6.855 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.1723, allocations: 25.72 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1725, allocations: 326.8 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.1726, allocations: 31.86 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.598e-05/0.1726, allocations: 33.7 kB / 0.4929 GB, free: 6.426 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1728, allocations: 57.7 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1728, allocations: 0 / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002125/0.173, allocations: 101.4 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.173, allocations: 15.31 kB / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1731, allocations: 384 / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1731, allocations: 0 / 0.493 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1732, allocations: 15.98 kB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1732, allocations: 4 kB / 0.493 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.675e-05/0.1733, allocations: 11.94 kB / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1733, allocations: 7.938 kB / 0.4931 GB, free: 6.207 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.0001381/0.1734, allocations: 137.7 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.1735, allocations: 15.81 kB / 0.4932 GB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.9e-05/0.1735, allocations: 21.39 kB / 0.4932 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1735, allocations: 4 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1736, allocations: 0 / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.1736, allocations: 3.938 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.1742, allocations: 399.3 kB / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1742, allocations: 0 / 0.4936 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.1742, allocations: 8 kB / 0.4936 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.1742, allocations: 7.922 kB / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1742, allocations: 4.031 kB / 0.4936 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1743, allocations: 4 kB / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1743, allocations: 0 / 0.4936 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.1745, allocations: 204.1 kB / 0.4938 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.416e-05/0.1746, allocations: 92.91 kB / 0.4939 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.1746, allocations: 7.938 kB / 0.4939 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.1747, allocations: 8 kB / 0.4939 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.1748, allocations: 7.984 kB / 0.4939 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1748, allocations: 4 kB / 0.494 GB, free: 5.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001665/0.175, allocations: 184.3 kB / 0.4941 GB, free: 5.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.175, allocations: 0 / 0.4941 GB, free: 5.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.1753, allocations: 24 kB / 0.4942 GB, free: 4.984 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.001673/0.1769, allocations: 1.104 MB / 0.4952 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.1772, allocations: 55.98 kB / 0.4953 GB, free: 3.844 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1772, allocations: 3.938 kB / 0.4953 GB, free: 3.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.1773, allocations: 27.98 kB / 0.4953 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.1777, allocations: 31.73 kB / 0.4953 GB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.18, allocations: 1.766 MB / 0.4971 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.1804, allocations: 0.708 MB / 0.4978 GB, free: 1.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.075e-05/0.1805, allocations: 21.17 kB / 0.4978 GB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.905e-05/0.1806, allocations: 39.42 kB / 0.4978 GB, free: 1.125 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1806, allocations: 0 / 0.4978 GB, free: 1.125 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.2059, allocations: 3.649 MB / 0.5014 GB, free: 13.46 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.827/8.033, allocations: 11.89 kB / 0.5014 GB, free: 13.45 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches