Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",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.001538/0.001538, allocations: 100.3 kB / 16.4 MB, free: 6.488 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.001738/0.001738, allocations: 188.2 kB / 17.34 MB, free: 5.734 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.626/1.626, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2298/0.2298, allocations: 43.52 MB / 314.1 MB, free: 460 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.001636/0.001636, allocations: 73.41 kB / 441.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1336, allocations: 57.8 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.00368/0.1373, allocations: 1.692 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.139, allocations: 0.8 MB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.1391, allocations: 7.938 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.1396, allocations: 99.73 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003494/0.14, allocations: 91.58 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.1404, allocations: 91.75 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.1406, allocations: 119.7 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1408, allocations: 20.2 kB / 0.4903 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1409, allocations: 59.77 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.141, allocations: 59.81 kB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.1411, allocations: 4 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.1412, allocations: 47.97 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.6e-05/0.1413, allocations: 35.8 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.779e-05/0.1414, allocations: 43.67 kB / 0.4906 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.1417, allocations: 135.4 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1417, allocations: 0 / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1417, allocations: 4 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.1417, allocations: 0 / 0.4907 GB, free: 8.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006653/0.1424, allocations: 438.6 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.1424, allocations: 15.89 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.1425, allocations: 30.75 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.622e-05/0.1426, allocations: 20.83 kB / 0.4912 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.1429, allocations: 223.9 kB / 0.4914 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1429, allocations: 4.375 kB / 0.4914 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.143, allocations: 11.89 kB / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1431, allocations: 69.58 kB / 0.4915 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1432, allocations: 0 / 0.4915 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.1432, allocations: 8 kB / 0.4915 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1432, allocations: 0 / 0.4915 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.354e-05/0.1433, allocations: 23.98 kB / 0.4915 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.1437, allocations: 304.8 kB / 0.4918 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.144, allocations: 70.67 kB / 0.4919 GB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/0.144, allocations: 24.84 kB / 0.4919 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1441, allocations: 4 kB / 0.4919 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.1443, allocations: 67.39 kB / 0.492 GB, free: 7.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.904e-06/0.1443, allocations: 3.938 kB / 0.492 GB, free: 7.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006788/0.1449, allocations: 213.3 kB / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.145, allocations: 51.41 kB / 0.4922 GB, free: 7.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002689/0.1453, allocations: 246.5 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1453, allocations: 29.7 kB / 0.4925 GB, free: 6.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.661e-05/0.1454, allocations: 112.1 kB / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.1455, allocations: 31.73 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/0.1455, allocations: 25.8 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1457, allocations: 330.8 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.1458, allocations: 27.98 kB / 0.493 GB, free: 6.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.908e-05/0.1458, allocations: 41.7 kB / 0.493 GB, free: 6.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.146, allocations: 69.64 kB / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.146, allocations: 0 / 0.4931 GB, free: 6.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002225/0.1462, allocations: 117.5 kB / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1463, allocations: 4 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1463, allocations: 4.031 kB / 0.4932 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1463, allocations: 4 kB / 0.4932 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.1464, allocations: 15.98 kB / 0.4932 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1464, allocations: 4 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1465, allocations: 7.875 kB / 0.4932 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1465, allocations: 4 kB / 0.4932 GB, free: 6.051 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 (11): * Single equations (assignments): 11 * 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.0001316/0.1466, allocations: 141.7 kB / 0.4934 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.1467, allocations: 15.89 kB / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.1467, allocations: 25.41 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1467, allocations: 0 / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1468, allocations: 4 kB / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1468, allocations: 3.938 kB / 0.4934 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.1473, allocations: 415.3 kB / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.1473, allocations: 4 kB / 0.4938 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.1473, allocations: 15.98 kB / 0.4938 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.1473, allocations: 7.938 kB / 0.4938 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1474, allocations: 0 / 0.4938 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1474, allocations: 8.016 kB / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1474, allocations: 0 / 0.4938 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1476, allocations: 220.3 kB / 0.4941 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.1477, allocations: 89.02 kB / 0.4941 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.1477, allocations: 7.938 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.1478, allocations: 7.984 kB / 0.4942 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.1479, allocations: 8 kB / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1479, allocations: 0 / 0.4942 GB, free: 4.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.1481, allocations: 196.1 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1481, allocations: 0 / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1484, allocations: 27.94 kB / 0.4944 GB, free: 4.77 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 (9): * Single equations (assignments): 7 * 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.001546/0.1499, allocations: 1.118 MB / 0.4955 GB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.1501, allocations: 71.84 kB / 0.4955 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1501, allocations: 4.062 kB / 0.4955 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.1502, allocations: 28 kB / 0.4956 GB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.1506, allocations: 35.97 kB / 0.4956 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.1527, allocations: 1.826 MB / 0.4974 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.153, allocations: 0.7197 MB / 0.4981 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.699e-05/0.1531, allocations: 16.8 kB / 0.4981 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/0.1532, allocations: 47.42 kB / 0.4982 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1532, allocations: 0 / 0.4982 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.1769, allocations: 3.78 MB / 0.5018 GB, free: 13 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.766/7.943, allocations: 7.969 kB / 0.5019 GB, free: 13 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_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_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches