Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test17",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.001651/0.001651, allocations: 105.1 kB / 16.27 MB, free: 5.973 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.001964/0.001964, allocations: 188.6 kB / 17.19 MB, free: 5.605 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.378/1.378, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2528/0.2528, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001478/0.001479, allocations: 74.69 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1344, allocations: 57.79 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003205/0.1376, allocations: 1.689 MB / 442.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.139, allocations: 0.7961 MB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.673e-05/0.1391, allocations: 7.938 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.1395, allocations: 39.83 kB / 443.2 MB, free: 4.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.1397, allocations: 55.7 kB / 443.2 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.14, allocations: 83.75 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.1402, allocations: 95.7 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.1404, allocations: 8.172 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/0.1404, allocations: 43.78 kB / 443.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.933e-05/0.1405, allocations: 31.86 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1406, allocations: 4 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.763e-05/0.1407, allocations: 39.97 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.647e-05/0.1407, allocations: 19.92 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.1408, allocations: 35.73 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.141, allocations: 103.7 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.141, allocations: 4 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.141, allocations: 0 / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.141, allocations: 0 / 443.7 MB, free: 3.711 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.0005179/0.1415, allocations: 414.9 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1416, allocations: 11.89 kB / 444.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.1416, allocations: 30.75 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.1417, allocations: 8.844 kB / 444.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.1419, allocations: 214.1 kB / 444.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1419, allocations: 4.312 kB / 444.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.1419, allocations: 11.88 kB / 444.4 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.142, allocations: 53.67 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.1421, allocations: 0 / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1421, allocations: 0 / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1421, allocations: 4 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.176e-05/0.1422, allocations: 19.98 kB / 444.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.1425, allocations: 284.9 kB / 444.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.1427, allocations: 62.61 kB / 444.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.1428, allocations: 24.84 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1428, allocations: 3.984 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.143, allocations: 67.39 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.143, allocations: 0 / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005293/0.1436, allocations: 165.2 kB / 445 MB, free: 2.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.1436, allocations: 59.39 kB / 445.1 MB, free: 2.109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.1437, allocations: 182 kB / 445.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.1438, allocations: 25.7 kB / 445.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.1438, allocations: 104.1 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.1438, allocations: 19.72 kB / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.1439, allocations: 25.7 kB / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.353e-05/0.144, allocations: 314.8 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.144, allocations: 27.92 kB / 445.8 MB, free: 1.391 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.1441, allocations: 37.7 kB / 445.8 MB, free: 1.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.427e-05/0.1442, allocations: 61.69 kB / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1442, allocations: 0 / 445.9 MB, free: 1.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001471/0.1443, allocations: 97.53 kB / 446 MB, free: 1.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1444, allocations: 11.94 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1444, allocations: 0 / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1444, allocations: 0 / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.882e-05/0.1445, allocations: 15.98 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1445, allocations: 8.031 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.1446, allocations: 3.938 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1446, allocations: 11.94 kB / 446 MB, free: 1.129 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.744e-05/0.1447, allocations: 125.8 kB / 446.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.1447, allocations: 11.81 kB / 446.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.1448, allocations: 12.72 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1448, allocations: 7.984 kB / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1448, allocations: 192 / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1448, allocations: 3.938 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.1452, allocations: 395.3 kB / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1452, allocations: 0 / 446.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.1452, allocations: 8.375 kB / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1452, allocations: 3.938 kB / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1453, allocations: 8 kB / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1453, allocations: 0 / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1453, allocations: 0 / 446.6 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.1455, allocations: 208.2 kB / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.1455, allocations: 85.02 kB / 446.9 MB, free: 168 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1456, allocations: 3.938 kB / 446.9 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.1456, allocations: 8 kB / 446.9 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.1457, allocations: 7.984 kB / 446.9 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.1457, allocations: 4 kB / 446.9 MB, free: 144 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.746e-05/0.1458, allocations: 127.2 kB / 447 MB, free: 16 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1458, allocations: 8 kB / 447 MB, free: 8 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002895/0.1461, allocations: 24.05 kB / 447 MB, free: 15.98 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.001774/0.1479, allocations: 1.113 MB / 448.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1481, allocations: 63.91 kB / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1481, allocations: 0 / 448.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.092e-05/0.1482, allocations: 27.98 kB / 448.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.1486, allocations: 29.31 kB / 448.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.1505, allocations: 1.601 MB / 449.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.1509, allocations: 0.7078 MB / 450.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.518e-05/0.1509, allocations: 17.17 kB / 450.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.855e-05/0.151, allocations: 35.42 kB / 450.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.151, allocations: 0 / 450.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.174, allocations: 3.249 MB / 453.9 MB, free: 9.078 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/7.963, allocations: 7.938 kB / 453.9 MB, free: 9.07 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_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_Test17.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches