Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test19",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.001085/0.001085, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001231/0.001231, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.494/1.494, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2561/0.2561, allocations: 43.52 MB / 313.9 MB, free: 0.543 MB / 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.001655/0.001656, allocations: 70.27 kB / 382.8 MB, free: 56.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1406, allocations: 57.79 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003177/0.1438, allocations: 1.685 MB / 442.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.145, allocations: 0.8078 MB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.754e-05/0.1451, allocations: 0 / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000354/0.1454, allocations: 43.77 kB / 443.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1457, allocations: 55.75 kB / 443.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1459, allocations: 87.77 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1461, allocations: 91.7 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1462, allocations: 16.16 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.112e-05/0.1463, allocations: 35.8 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.1464, allocations: 35.84 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.1464, allocations: 4 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.436e-05/0.1465, allocations: 39.92 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.737e-05/0.1466, allocations: 23.91 kB / 443.5 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.1466, allocations: 35.75 kB / 443.6 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.1468, allocations: 111.7 kB / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1468, allocations: 0 / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1468, allocations: 0 / 443.7 MB, free: 3.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.1469, allocations: 0 / 443.7 MB, free: 3.73 MB / 318.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.0005375/0.1474, allocations: 410.9 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1475, allocations: 15.89 kB / 444.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.1475, allocations: 34.69 kB / 444.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.1475, allocations: 8.844 kB / 444.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.1477, allocations: 213 kB / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1478, allocations: 384 / 444.4 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.1478, allocations: 7.938 kB / 444.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.148, allocations: 57.67 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.148, allocations: 0 / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.148, allocations: 0 / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.148, allocations: 0 / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.447e-05/0.1481, allocations: 19.98 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.1484, allocations: 296.7 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.1486, allocations: 62.66 kB / 444.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.1487, allocations: 24.78 kB / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.1487, allocations: 0 / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.1489, allocations: 75.33 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1489, allocations: 3.938 kB / 444.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005239/0.1495, allocations: 169.2 kB / 445.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.1495, allocations: 59.39 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.1496, allocations: 190.1 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.1497, allocations: 29.7 kB / 445.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.1497, allocations: 100.1 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.1497, allocations: 23.7 kB / 445.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.1498, allocations: 25.72 kB / 445.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.757e-05/0.1499, allocations: 322.8 kB / 445.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.473e-05/0.1499, allocations: 19.98 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-05/0.15, allocations: 37.7 kB / 445.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.712e-05/0.1501, allocations: 61.72 kB / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1501, allocations: 0 / 445.9 MB, free: 1.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001476/0.1502, allocations: 105.6 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1503, allocations: 4 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1503, allocations: 0 / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1503, allocations: 0 / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.021e-05/0.1504, allocations: 19.94 kB / 446 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1504, allocations: 3.984 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.1505, allocations: 7.938 kB / 446 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1505, allocations: 4 kB / 446.1 MB, free: 1.121 MB / 318.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 9.982e-05/0.1506, allocations: 133 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.1506, allocations: 19.8 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.577e-05/0.1507, allocations: 12.72 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1507, allocations: 384 / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1507, allocations: 0 / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1507, allocations: 3.938 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.1511, allocations: 395.3 kB / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1511, allocations: 0 / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.01e-05/0.1511, allocations: 16.02 kB / 446.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1511, allocations: 3.938 kB / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1511, allocations: 8 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1511, allocations: 3.938 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1512, allocations: 3.938 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.1513, allocations: 192.3 kB / 446.8 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.1514, allocations: 88.92 kB / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.1514, allocations: 16.11 kB / 446.9 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.1515, allocations: 4 kB / 446.9 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.1515, allocations: 7.938 kB / 446.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1516, allocations: 7.984 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1517, allocations: 139.2 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1517, allocations: 0 / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.152, allocations: 23.98 kB / 447.1 MB, free: 15.95 MB / 334.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.001676/0.1537, allocations: 1.092 MB / 448.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.1539, allocations: 67.89 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1539, allocations: 0 / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.154, allocations: 23.94 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.1543, allocations: 33.94 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.1562, allocations: 1.627 MB / 450 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.1565, allocations: 0.7079 MB / 450.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.421e-05/0.1566, allocations: 12.88 kB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.1567, allocations: 35.42 kB / 450.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1567, allocations: 0 / 450.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02187/0.1786, allocations: 3.302 MB / 454 MB, free: 8.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/7.855, allocations: 4.062 kB / 454 MB, free: 8.977 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_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_Test19.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches