Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test52",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.001469, allocations: 104.1 kB / 16.27 MB, free: 5.93 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.001517/0.001517, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.619/1.619, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2417/0.2417, allocations: 43.51 MB / 313.9 MB, free: 0.5273 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.002734/0.002735, allocations: 71.67 kB / 382.8 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1618, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002964/0.1648, allocations: 1.697 MB / 442.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1659, allocations: 0.8 MB / 443.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.166, allocations: 7.938 kB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.1664, allocations: 43.81 kB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002001/0.1666, allocations: 59.7 kB / 443.2 MB, free: 4.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1668, allocations: 79.77 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.167, allocations: 99.69 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1671, allocations: 16.17 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.1672, allocations: 39.78 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.501e-05/0.1673, allocations: 35.84 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.1674, allocations: 4 kB / 443.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.675e-05/0.1675, allocations: 39.98 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.839e-05/0.1675, allocations: 23.86 kB / 443.6 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.1676, allocations: 35.73 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1678, allocations: 123.6 kB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.1678, allocations: 0 / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1679, allocations: 4 kB / 443.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1679, allocations: 0 / 443.7 MB, free: 3.676 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.0006168/0.1685, allocations: 422.8 kB / 444.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.1685, allocations: 15.88 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.1686, allocations: 34.75 kB / 444.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.1686, allocations: 8.844 kB / 444.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.1689, allocations: 215.9 kB / 444.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1689, allocations: 4.312 kB / 444.4 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.169, allocations: 11.94 kB / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.1692, allocations: 53.67 kB / 444.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.1692, allocations: 0 / 444.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.1692, allocations: 0 / 444.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1692, allocations: 0 / 444.5 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.514e-05/0.1693, allocations: 19.98 kB / 444.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003377/0.1696, allocations: 288.9 kB / 444.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.1698, allocations: 66.61 kB / 444.8 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.878e-05/0.1699, allocations: 20.8 kB / 444.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1699, allocations: 3.984 kB / 444.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.1701, allocations: 67.39 kB / 444.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1702, allocations: 0 / 444.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006229/0.1708, allocations: 181.1 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.1708, allocations: 55.39 kB / 445.2 MB, free: 2.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.171, allocations: 230.6 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1711, allocations: 25.7 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.1711, allocations: 104.1 kB / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.1712, allocations: 31.58 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.1712, allocations: 25.72 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.989e-05/0.1713, allocations: 322.8 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.589e-05/0.1714, allocations: 27.98 kB / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.064e-05/0.1714, allocations: 33.7 kB / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.9e-05/0.1715, allocations: 57.7 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1715, allocations: 0 / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001611/0.1717, allocations: 105.4 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.1717, allocations: 8 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.1717, allocations: 4.031 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.1718, allocations: 3.984 kB / 446.1 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.1719, allocations: 15.98 kB / 446.1 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.1719, allocations: 7.938 kB / 446.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.1719, allocations: 3.938 kB / 446.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1719, allocations: 4 kB / 446.2 MB, free: 1 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.683e-05/0.172, allocations: 133.8 kB / 446.3 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.1721, allocations: 11.81 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.1721, allocations: 25.39 kB / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1721, allocations: 3.938 kB / 446.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1722, allocations: 0 / 446.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1722, allocations: 3.938 kB / 446.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.1726, allocations: 399.3 kB / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1726, allocations: 0 / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.1726, allocations: 11.98 kB / 446.7 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1726, allocations: 3.938 kB / 446.7 MB, free: 356 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1726, allocations: 8.031 kB / 446.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1726, allocations: 0 / 446.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1726, allocations: 192 / 446.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001958/0.1728, allocations: 200.2 kB / 446.9 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.1729, allocations: 92.86 kB / 447 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.1729, allocations: 7.922 kB / 447 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.173, allocations: 4.375 kB / 447 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.1731, allocations: 12.05 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1731, allocations: 7.938 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001664/0.1733, allocations: 163.2 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1733, allocations: 0 / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1736, allocations: 24 kB / 447.2 MB, free: 15.8 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.001869/0.1754, allocations: 1.111 MB / 448.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.1757, allocations: 71.89 kB / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1757, allocations: 0 / 448.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.808e-05/0.1758, allocations: 24 kB / 448.4 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1762, allocations: 31.2 kB / 448.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.1784, allocations: 1.717 MB / 450.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.1788, allocations: 0.7078 MB / 450.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.585e-05/0.1788, allocations: 21.17 kB / 450.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.1789, allocations: 39.42 kB / 451 MB, free: 12.04 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1789, allocations: 3.938 kB / 451 MB, free: 12.03 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.2001, allocations: 3.469 MB / 454.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.785, allocations: 7.875 kB / 454.4 MB, free: 8.535 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_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_Test52.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches