Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.001615/0.001615, allocations: 109.2 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.001671/0.001672, allocations: 192.8 kB / 17.34 MB, free: 5.738 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.59/1.59, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2376/0.2376, allocations: 43.53 MB / 314.1 MB, free: 472 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.001894/0.001895, allocations: 71.91 kB / 441.4 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1441, allocations: 57.79 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003996/0.1481, allocations: 1.654 MB / 0.4891 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1497, allocations: 0.7883 MB / 0.4899 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1498, allocations: 0 / 0.4899 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.1503, allocations: 59.8 kB / 0.4899 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.1506, allocations: 75.67 kB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1509, allocations: 87.7 kB / 0.4901 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.1511, allocations: 95.69 kB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.397e-05/0.1512, allocations: 7.984 kB / 0.4902 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1513, allocations: 51.77 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.1515, allocations: 39.84 kB / 0.4903 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.1515, allocations: 4 kB / 0.4903 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1516, allocations: 31.97 kB / 0.4903 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.1517, allocations: 19.86 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.933e-05/0.1518, allocations: 31.81 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.152, allocations: 107.6 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1521, allocations: 0 / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1521, allocations: 0 / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1521, allocations: 0 / 0.4904 GB, free: 9.184 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007343/0.1528, allocations: 398.9 kB / 0.4908 GB, free: 8.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1529, allocations: 11.89 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.1529, allocations: 38.75 kB / 0.4909 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.153, allocations: 16.78 kB / 0.4909 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.1534, allocations: 212.1 kB / 0.4911 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1534, allocations: 4.375 kB / 0.4911 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.1535, allocations: 3.938 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1536, allocations: 45.67 kB / 0.4911 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1536, allocations: 4 kB / 0.4911 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1537, allocations: 4 kB / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1537, allocations: 0 / 0.4911 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.475e-05/0.1537, allocations: 11.98 kB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.154, allocations: 181.7 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.1542, allocations: 66.47 kB / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.1542, allocations: 16.86 kB / 0.4914 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.1543, allocations: 3.984 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001671/0.1544, allocations: 63.39 kB / 0.4915 GB, free: 7.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.1545, allocations: 4 kB / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003047/0.1548, allocations: 97.55 kB / 0.4916 GB, free: 7.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.1548, allocations: 55.41 kB / 0.4916 GB, free: 7.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.155, allocations: 182.2 kB / 0.4918 GB, free: 7.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1551, allocations: 29.64 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.1552, allocations: 104.1 kB / 0.4919 GB, free: 7.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.1552, allocations: 11.89 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/0.1553, allocations: 21.7 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1554, allocations: 326.8 kB / 0.4923 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.254e-05/0.1555, allocations: 12 kB / 0.4923 GB, free: 7.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.415e-05/0.1555, allocations: 29.7 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1557, allocations: 53.89 kB / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.1557, allocations: 3.938 kB / 0.4924 GB, free: 6.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000183/0.1559, allocations: 81.59 kB / 0.4924 GB, free: 6.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1559, allocations: 4 kB / 0.4924 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1559, allocations: 4 kB / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1559, allocations: 0 / 0.4925 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.156, allocations: 11.94 kB / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.156, allocations: 160 / 0.4925 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.687e-05/0.1561, allocations: 7.984 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1561, allocations: 7.922 kB / 0.4925 GB, free: 6.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 (7): * Single equations (assignments): 7 * 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.0001434/0.1563, allocations: 129.7 kB / 0.4926 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.1563, allocations: 11.98 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.112e-05/0.1564, allocations: 16.3 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1564, allocations: 0 / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1564, allocations: 0 / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1564, allocations: 0 / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.1566, allocations: 189.5 kB / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1566, allocations: 0 / 0.4928 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.1566, allocations: 7.984 kB / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1566, allocations: 0 / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1566, allocations: 0 / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1566, allocations: 0 / 0.4928 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1567, allocations: 4 kB / 0.4928 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.1569, allocations: 121 kB / 0.4929 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.1569, allocations: 81.19 kB / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.157, allocations: 4 kB / 0.493 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.256e-05/0.157, allocations: 4 kB / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.157, allocations: 7.984 kB / 0.493 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.1571, allocations: 4 kB / 0.493 GB, free: 6.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.1572, allocations: 144.1 kB / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1572, allocations: 0 / 0.4932 GB, free: 6.043 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.1574, allocations: 23.92 kB / 0.4932 GB, free: 6.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001407/0.1589, allocations: 0.9453 MB / 0.4941 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002045/0.1591, allocations: 43.98 kB / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1591, allocations: 0 / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.1592, allocations: 23.92 kB / 0.4942 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.1595, allocations: 35.17 kB / 0.4942 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.1614, allocations: 1.473 MB / 0.4957 GB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.1617, allocations: 0.7041 MB / 0.4963 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.463e-05/0.1618, allocations: 20.47 kB / 0.4964 GB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.1619, allocations: 31.36 kB / 0.4964 GB, free: 2.645 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1619, allocations: 0 / 0.4964 GB, free: 2.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.1853, allocations: 3.056 MB / 0.4994 GB, free: 15.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.698/7.883, allocations: 12.05 kB / 0.4994 GB, free: 15.55 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches