Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.001148/0.001148, allocations: 103.9 kB / 16.41 MB, free: 6.449 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.001141/0.001141, allocations: 188.1 kB / 17.34 MB, free: 5.742 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.653/1.653, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.239/0.239, allocations: 43.53 MB / 314.1 MB, free: 468 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.001423/0.001423, allocations: 71.91 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1461, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.004342/0.1505, allocations: 1.693 MB / 0.4891 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.1524, allocations: 0.8 MB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.1526, allocations: 0 / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.1531, allocations: 55.81 kB / 0.49 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004432/0.1536, allocations: 59.7 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.1541, allocations: 103.6 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002867/0.1544, allocations: 91.75 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.1545, allocations: 16.22 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.1547, allocations: 39.8 kB / 0.4903 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1548, allocations: 35.83 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.1548, allocations: 4 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.155, allocations: 39.92 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.837e-05/0.1551, allocations: 39.84 kB / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.124e-05/0.1552, allocations: 39.67 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.1555, allocations: 135.4 kB / 0.4905 GB, free: 9.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1556, allocations: 4 kB / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1556, allocations: 0 / 0.4905 GB, free: 9.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1556, allocations: 0 / 0.4905 GB, free: 9.082 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.0009067/0.1565, allocations: 450.4 kB / 0.491 GB, free: 8.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.183e-05/0.1566, allocations: 11.89 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.728e-05/0.1566, allocations: 42.67 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.514e-05/0.1567, allocations: 16.84 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.1571, allocations: 217 kB / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1572, allocations: 8.375 kB / 0.4913 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.1572, allocations: 7.938 kB / 0.4913 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.1574, allocations: 57.67 kB / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1574, allocations: 0 / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1574, allocations: 0 / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1575, allocations: 0 / 0.4913 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.974e-05/0.1575, allocations: 23.92 kB / 0.4913 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.1581, allocations: 296.8 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.1583, allocations: 58.69 kB / 0.4917 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.1583, allocations: 20.84 kB / 0.4917 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.1584, allocations: 4 kB / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.1586, allocations: 67.33 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1586, allocations: 0 / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007134/0.1593, allocations: 193.2 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.1594, allocations: 51.41 kB / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002813/0.1597, allocations: 275.7 kB / 0.4923 GB, free: 7.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1597, allocations: 25.7 kB / 0.4923 GB, free: 7.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/0.1598, allocations: 116.1 kB / 0.4924 GB, free: 6.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.1599, allocations: 27.78 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.1599, allocations: 21.72 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1601, allocations: 334.8 kB / 0.4928 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.1602, allocations: 16 kB / 0.4928 GB, free: 6.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.1602, allocations: 41.64 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1604, allocations: 65.7 kB / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1604, allocations: 0 / 0.4929 GB, free: 6.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002372/0.1607, allocations: 101.6 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.1607, allocations: 12.02 kB / 0.493 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.1607, allocations: 384 / 0.493 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/0.1607, allocations: 7.938 kB / 0.493 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1609, allocations: 15.94 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1609, allocations: 0 / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.863e-05/0.161, allocations: 15.89 kB / 0.493 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.161, allocations: 3.984 kB / 0.493 GB, free: 6.277 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.0001671/0.1612, allocations: 133.8 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.1612, allocations: 15.91 kB / 0.4932 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.754e-05/0.1613, allocations: 25.41 kB / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1613, allocations: 0 / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1613, allocations: 4 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.1613, allocations: 7.922 kB / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005989/0.1619, allocations: 395.3 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.162, allocations: 0 / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.677e-05/0.162, allocations: 11.98 kB / 0.4936 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/0.162, allocations: 3.938 kB / 0.4936 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.162, allocations: 7.938 kB / 0.4936 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1621, allocations: 4.031 kB / 0.4936 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1621, allocations: 0 / 0.4936 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.1624, allocations: 208.3 kB / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.1625, allocations: 93 kB / 0.4939 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.1625, allocations: 11.92 kB / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.1626, allocations: 0 / 0.4939 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1626, allocations: 8 kB / 0.4939 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.1627, allocations: 7.984 kB / 0.4939 GB, free: 5.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.1629, allocations: 204.2 kB / 0.4941 GB, free: 5.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1629, allocations: 0 / 0.4941 GB, free: 5.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003219/0.1632, allocations: 23.98 kB / 0.4941 GB, free: 5.027 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.00178/0.165, allocations: 1.105 MB / 0.4952 GB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002445/0.1653, allocations: 59.91 kB / 0.4953 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1653, allocations: 4.062 kB / 0.4953 GB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.451e-05/0.1654, allocations: 27.94 kB / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.1658, allocations: 35.91 kB / 0.4953 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.1685, allocations: 1.839 MB / 0.4971 GB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.1689, allocations: 0.7271 MB / 0.4979 GB, free: 1.141 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.633e-05/0.169, allocations: 12.89 kB / 0.4979 GB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.419e-05/0.1691, allocations: 43.41 kB / 0.4979 GB, free: 1.086 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1691, allocations: 0 / 0.4979 GB, free: 1.086 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.1919, allocations: 3.754 MB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/7.939, allocations: 15.84 kB / 0.5016 GB, free: 13.29 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_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_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches