Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.001587/0.001587, allocations: 101.7 kB / 16.4 MB, free: 6.457 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.001752/0.001752, 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.474/1.474, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2384/0.2384, 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.001669/0.001669, allocations: 69.47 kB / 441.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1368, allocations: 57.8 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004083/0.1409, allocations: 1.712 MB / 0.4891 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1425, allocations: 0.8078 MB / 0.4899 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1427, allocations: 3.938 kB / 0.4899 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.1432, allocations: 111.7 kB / 0.49 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003536/0.1435, allocations: 87.69 kB / 0.4901 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003691/0.1439, allocations: 87.7 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.1442, allocations: 123.7 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1443, allocations: 19.98 kB / 0.4903 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1445, allocations: 63.75 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1446, allocations: 67.75 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.1447, allocations: 4 kB / 0.4905 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1448, allocations: 43.98 kB / 0.4905 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.602e-05/0.1449, allocations: 35.89 kB / 0.4906 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.39e-05/0.145, allocations: 47.62 kB / 0.4906 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.1453, allocations: 139.3 kB / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1453, allocations: 0 / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1453, allocations: 0 / 0.4907 GB, free: 8.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.1453, allocations: 4 kB / 0.4907 GB, free: 8.836 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007471/0.1461, allocations: 442.5 kB / 0.4912 GB, free: 8.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1461, allocations: 11.89 kB / 0.4912 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.951e-05/0.1462, allocations: 42.73 kB / 0.4912 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.223e-05/0.1463, allocations: 12.84 kB / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.1467, allocations: 231.9 kB / 0.4914 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1467, allocations: 4.375 kB / 0.4914 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.1468, allocations: 3.938 kB / 0.4915 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.147, allocations: 73.66 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.147, allocations: 3.938 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.147, allocations: 0 / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.147, allocations: 4 kB / 0.4915 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1471, allocations: 35.91 kB / 0.4916 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.1477, allocations: 308.8 kB / 0.4919 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.1479, allocations: 86.75 kB / 0.4919 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.475e-05/0.148, allocations: 28.83 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.1481, allocations: 4 kB / 0.492 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.1483, allocations: 67.39 kB / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.1483, allocations: 0 / 0.492 GB, free: 7.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007965/0.1491, allocations: 237.1 kB / 0.4923 GB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.1492, allocations: 63.34 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.1495, allocations: 242.5 kB / 0.4926 GB, free: 6.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.1495, allocations: 29.7 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.719e-05/0.1496, allocations: 112.1 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.1497, allocations: 43.67 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.447e-05/0.1498, allocations: 25.66 kB / 0.4928 GB, free: 6.539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.15, allocations: 326.8 kB / 0.4931 GB, free: 6.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/0.1501, allocations: 35.98 kB / 0.4931 GB, free: 6.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.35e-05/0.1502, allocations: 53.69 kB / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.1504, allocations: 81.59 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1504, allocations: 0 / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002838/0.1507, allocations: 133.5 kB / 0.4934 GB, free: 5.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1507, allocations: 4 kB / 0.4934 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1507, allocations: 8.031 kB / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.1508, allocations: 0 / 0.4934 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1509, allocations: 19.98 kB / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.1509, allocations: 7.938 kB / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.061e-05/0.151, allocations: 0 / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.151, allocations: 4 kB / 0.4934 GB, free: 5.852 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 (13): * Single equations (assignments): 13 * 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.0001503/0.1512, allocations: 149.7 kB / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.1512, allocations: 19.89 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.1513, allocations: 17.41 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.1513, allocations: 4 kB / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.1513, allocations: 11.88 kB / 0.4936 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.1513, allocations: 3.984 kB / 0.4936 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006195/0.1519, allocations: 435.3 kB / 0.494 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.152, allocations: 7.938 kB / 0.494 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/0.152, allocations: 19.92 kB / 0.494 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.152, allocations: 0 / 0.494 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.1521, allocations: 4 kB / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.1521, allocations: 8.031 kB / 0.4941 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1521, allocations: 0 / 0.4941 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.1524, allocations: 228.3 kB / 0.4943 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.1525, allocations: 92.95 kB / 0.4944 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.1525, allocations: 4 kB / 0.4944 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.1526, allocations: 7.984 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.1527, allocations: 8 kB / 0.4944 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.1527, allocations: 7.984 kB / 0.4944 GB, free: 4.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.1529, allocations: 192.2 kB / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1529, allocations: 4.031 kB / 0.4946 GB, free: 4.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.1532, allocations: 31.88 kB / 0.4946 GB, free: 4.512 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 (11): * Single equations (assignments): 9 * 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.001755/0.155, allocations: 1.124 MB / 0.4957 GB, free: 3.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.1552, allocations: 79.91 kB / 0.4958 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1552, allocations: 4.062 kB / 0.4958 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.814e-05/0.1553, allocations: 39.92 kB / 0.4958 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.1557, allocations: 31.92 kB / 0.4958 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.1581, allocations: 1.877 MB / 0.4977 GB, free: 1.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.1585, allocations: 0.7201 MB / 0.4984 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.056e-05/0.1586, allocations: 25.06 kB / 0.4984 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.111e-05/0.1587, allocations: 43.61 kB / 0.4984 GB, free: 484 kB / 382.1 MB Notification: Performance of SimCode: time 2.114e-06/0.1587, allocations: 3.938 kB / 0.4985 GB, free: 480 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.1844, allocations: 3.937 MB / 0.5023 GB, free: 12.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.825/8.009, allocations: 0 / 0.5023 GB, free: 12.51 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches