Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",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.001253/0.001253, allocations: 102.3 kB / 16.4 MB, free: 6.465 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.001159/0.001159, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.583/1.583, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2859/0.2859, 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.001427/0.001427, allocations: 67.91 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1455, allocations: 57.8 MB / 499.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003974/0.1495, allocations: 1.696 MB / 0.4891 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1511, allocations: 0.8038 MB / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.1512, allocations: 0 / 0.4899 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.1517, allocations: 43.78 kB / 0.49 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.152, allocations: 51.77 kB / 0.49 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.1524, allocations: 91.75 kB / 0.4901 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.1527, allocations: 95.69 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1528, allocations: 16.2 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.153, allocations: 39.8 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1531, allocations: 31.78 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1531, allocations: 8 kB / 0.4903 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.1533, allocations: 39.98 kB / 0.4903 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.1534, allocations: 19.92 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.55e-05/0.1535, allocations: 39.73 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.1538, allocations: 111.5 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1538, allocations: 4 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1538, allocations: 0 / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1538, allocations: 0 / 0.4905 GB, free: 9.105 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.0007897/0.1546, allocations: 414.7 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.1547, allocations: 15.89 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.903e-05/0.1547, allocations: 38.73 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.935e-05/0.1548, allocations: 12.84 kB / 0.4909 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004836/0.1553, allocations: 212.1 kB / 0.4911 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1553, allocations: 8.359 kB / 0.4912 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.1554, allocations: 3.938 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.1556, allocations: 57.67 kB / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1556, allocations: 0 / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.1557, allocations: 0 / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1557, allocations: 3.938 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1558, allocations: 23.98 kB / 0.4912 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005194/0.1563, allocations: 280.9 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.1566, allocations: 54.69 kB / 0.4916 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.1566, allocations: 24.78 kB / 0.4916 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1567, allocations: 4 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.1569, allocations: 71.34 kB / 0.4917 GB, free: 7.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1569, allocations: 0 / 0.4917 GB, free: 7.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007338/0.1576, allocations: 177.6 kB / 0.4918 GB, free: 7.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/0.1577, allocations: 51.41 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.158, allocations: 190.2 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.158, allocations: 25.7 kB / 0.4921 GB, free: 7.262 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.1581, allocations: 104.1 kB / 0.4922 GB, free: 7.156 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.1581, allocations: 27.78 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.1582, allocations: 21.72 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.1584, allocations: 322.8 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.1585, allocations: 23.98 kB / 0.4926 GB, free: 6.754 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.1586, allocations: 37.83 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.1587, allocations: 65.64 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.1587, allocations: 0 / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002329/0.159, allocations: 105.5 kB / 0.4928 GB, free: 6.531 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.159, allocations: 4 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.159, allocations: 0 / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.159, allocations: 0 / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.992e-05/0.1591, allocations: 19.98 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.1591, allocations: 0 / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.1592, allocations: 7.969 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.1592, allocations: 4 kB / 0.4928 GB, free: 6.496 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.0001299/0.1594, allocations: 133.8 kB / 0.4929 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.1594, allocations: 15.89 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.1594, allocations: 12.72 kB / 0.4929 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.1595, allocations: 3.984 kB / 0.493 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1595, allocations: 3.938 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.1595, allocations: 3.938 kB / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.16, allocations: 395.3 kB / 0.4933 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.16, allocations: 0 / 0.4933 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.1601, allocations: 11.94 kB / 0.4933 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.1601, allocations: 3.938 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1601, allocations: 4 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1601, allocations: 0 / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1601, allocations: 3.984 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.1604, allocations: 204.4 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.1605, allocations: 89.02 kB / 0.4936 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.1605, allocations: 3.938 kB / 0.4936 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.1606, allocations: 8 kB / 0.4936 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.1606, allocations: 11.92 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1607, allocations: 0 / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.1608, allocations: 148 kB / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1608, allocations: 0 / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002976/0.1611, allocations: 27.94 kB / 0.4938 GB, free: 5.324 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.00173/0.1629, allocations: 1.096 MB / 0.4949 GB, free: 4.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.1631, allocations: 51.92 kB / 0.4949 GB, free: 4.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1631, allocations: 4 kB / 0.495 GB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.138e-05/0.1632, allocations: 31.92 kB / 0.495 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.1637, allocations: 31.58 kB / 0.495 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.166, allocations: 1.642 MB / 0.4966 GB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.1663, allocations: 0.7002 MB / 0.4973 GB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.424e-05/0.1664, allocations: 21.17 kB / 0.4973 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.908e-05/0.1665, allocations: 35.42 kB / 0.4974 GB, free: 1.613 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1665, allocations: 0 / 0.4974 GB, free: 1.613 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.1907, allocations: 3.352 MB / 0.5006 GB, free: 14.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/7.819, allocations: 8 kB / 0.5006 GB, free: 14.23 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches