Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",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.001622/0.001622, allocations: 107.1 kB / 16.27 MB, free: 6.051 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.002193/0.002193, allocations: 187.8 kB / 17.19 MB, free: 5.688 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.512/1.512, 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.2585/0.2585, 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.001676/0.001676, allocations: 68 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1363, allocations: 57.8 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003268/0.1396, allocations: 1.689 MB / 442.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.141, allocations: 0.7961 MB / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1411, allocations: 0 / 443.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003996/0.1415, allocations: 31.83 kB / 443.2 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.1418, allocations: 67.69 kB / 443.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.1421, allocations: 79.77 kB / 443.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.1423, allocations: 99.69 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.1425, allocations: 12.16 kB / 443.4 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.991e-05/0.1426, allocations: 39.8 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.815e-05/0.1427, allocations: 31.86 kB / 443.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.1427, allocations: 8 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1428, allocations: 39.91 kB / 443.5 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.1429, allocations: 23.92 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.143, allocations: 35.73 kB / 443.6 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.1432, allocations: 107.7 kB / 443.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1432, allocations: 0 / 443.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1432, allocations: 0 / 443.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1432, allocations: 0 / 443.7 MB, free: 3.738 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.000653/0.1439, allocations: 410.9 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.1439, allocations: 15.89 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.144, allocations: 34.75 kB / 444.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.1441, allocations: 12.83 kB / 444.2 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1443, allocations: 212.9 kB / 444.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1443, allocations: 384 / 444.4 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.262e-05/0.1443, allocations: 7.938 kB / 444.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1445, allocations: 53.67 kB / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1445, allocations: 0 / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.1445, allocations: 3.984 kB / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.1446, allocations: 0 / 444.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.115e-05/0.1446, allocations: 23.98 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.145, allocations: 292.7 kB / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1452, allocations: 62.61 kB / 444.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.1453, allocations: 20.84 kB / 444.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.1453, allocations: 7.938 kB / 444.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.1455, allocations: 71.33 kB / 444.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1455, allocations: 0 / 444.9 MB, free: 2.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005432/0.1461, allocations: 169.2 kB / 445.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.1461, allocations: 55.34 kB / 445.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.1463, allocations: 198 kB / 445.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.1463, allocations: 25.7 kB / 445.3 MB, free: 1.887 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.1463, allocations: 108.1 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.1464, allocations: 23.7 kB / 445.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.578e-05/0.1464, allocations: 21.72 kB / 445.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.229e-05/0.1465, allocations: 322.8 kB / 445.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.497e-05/0.1466, allocations: 23.98 kB / 445.8 MB, free: 1.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.1466, allocations: 33.7 kB / 445.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.813e-05/0.1467, allocations: 61.72 kB / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1467, allocations: 0 / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001488/0.1469, allocations: 101.6 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1469, allocations: 4 kB / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1469, allocations: 0 / 446 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1469, allocations: 4 kB / 446 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.27e-05/0.147, allocations: 19.92 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1471, allocations: 0 / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.1471, allocations: 7.938 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.1471, allocations: 8.031 kB / 446.1 MB, free: 1.125 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 8.205e-05/0.1472, allocations: 133.7 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.1472, allocations: 11.81 kB / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.1473, allocations: 12.72 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1473, allocations: 0 / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1473, allocations: 4 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1473, allocations: 7.922 kB / 446.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003598/0.1477, allocations: 391.3 kB / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1477, allocations: 0 / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.922e-05/0.1477, allocations: 8.375 kB / 446.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1477, allocations: 3.938 kB / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1478, allocations: 8 kB / 446.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.1478, allocations: 7.875 kB / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1478, allocations: 0 / 446.6 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.148, allocations: 204.5 kB / 446.8 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.148, allocations: 92.91 kB / 446.9 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.148, allocations: 11.88 kB / 446.9 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.1481, allocations: 4 kB / 446.9 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.1482, allocations: 7.984 kB / 446.9 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.1482, allocations: 4 kB / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.1483, allocations: 135.2 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1483, allocations: 0 / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1486, allocations: 27.98 kB / 447.1 MB, free: 15.96 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.001631/0.1502, allocations: 1.094 MB / 448.2 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1504, allocations: 63.89 kB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1505, allocations: 0 / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.1506, allocations: 31.92 kB / 448.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.151, allocations: 33.95 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.002421/0.1534, allocations: 1.624 MB / 450 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.1539, allocations: 0.7079 MB / 450.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.735e-05/0.154, 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 9.226e-05/0.1541, allocations: 35.42 kB / 450.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1541, allocations: 0 / 450.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.1762, allocations: 3.309 MB / 454 MB, free: 8.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.024, allocations: 7.938 kB / 454 MB, free: 8.961 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_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_Test34.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches