Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56",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.001121/0.001121, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001065/0.001065, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.249/0.249, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 69.17 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1264, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003254/0.1297, allocations: 1.704 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1318, allocations: 1.475 MB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.1319, allocations: 7.938 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.1322, allocations: 43.77 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.1325, allocations: 51.7 kB / 472.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1328, allocations: 115.6 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.133, allocations: 95.7 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.1331, allocations: 8.234 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.243e-05/0.1332, allocations: 39.8 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1333, allocations: 42.92 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.1334, allocations: 8 kB / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.1335, allocations: 59.97 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.1336, allocations: 23.86 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.1336, allocations: 31.78 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002162/0.1339, allocations: 116 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1339, allocations: 0 / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1339, allocations: 3.938 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1339, allocations: 4 kB / 473.2 MB, free: 10.41 MB / 350.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.0005562/0.1345, allocations: 399.2 kB / 473.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1345, allocations: 16.03 kB / 473.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.1346, allocations: 30.75 kB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.1346, allocations: 12.83 kB / 473.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1348, allocations: 208 kB / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1349, allocations: 4.375 kB / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.1349, allocations: 3.938 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1351, allocations: 71.38 kB / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1351, allocations: 0 / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1351, allocations: 8 kB / 473.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1351, allocations: 4 kB / 473.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.951e-05/0.1352, allocations: 15.98 kB / 473.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.1355, allocations: 284.8 kB / 474.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.1357, allocations: 50.69 kB / 474.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.415e-05/0.1358, allocations: 24.84 kB / 474.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1358, allocations: 3.938 kB / 474.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.136, allocations: 71.33 kB / 474.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1361, allocations: 0 / 474.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005728/0.1366, allocations: 177.2 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.1367, allocations: 81.05 kB / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1368, allocations: 157.8 kB / 474.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1369, allocations: 25.7 kB / 474.8 MB, free: 8.578 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.253e-05/0.1369, allocations: 96.14 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.137, allocations: 27.64 kB / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.137, allocations: 21.72 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1371, allocations: 318.8 kB / 475.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.732e-05/0.1372, allocations: 23.98 kB / 475.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.519e-05/0.1373, allocations: 50.5 kB / 475.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1374, allocations: 53.66 kB / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1374, allocations: 0 / 475.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001816/0.1376, allocations: 106 kB / 475.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1376, allocations: 8 kB / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1376, allocations: 0 / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1376, allocations: 0 / 475.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.1377, allocations: 23.92 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1378, allocations: 8.062 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.1378, allocations: 3.938 kB / 475.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1378, allocations: 4 kB / 475.5 MB, free: 7.809 MB / 350.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 0.0001118/0.1379, allocations: 121.8 kB / 475.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.138, allocations: 7.906 kB / 475.7 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.138, allocations: 16.7 kB / 475.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.138, allocations: 0 / 475.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.138, allocations: 0 / 475.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.138, allocations: 3.938 kB / 475.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.1385, allocations: 391.3 kB / 476.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1385, allocations: 0 / 476.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.366e-05/0.1385, allocations: 11.98 kB / 476.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1385, allocations: 3.938 kB / 476.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1386, allocations: 4 kB / 476.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1386, allocations: 0 / 476.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1386, allocations: 3.938 kB / 476.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.1388, allocations: 208.2 kB / 476.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.1388, allocations: 89 kB / 476.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1389, allocations: 3.938 kB / 476.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/0.1389, allocations: 4 kB / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.139, allocations: 15.97 kB / 476.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.139, allocations: 4 kB / 476.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.982e-05/0.1391, allocations: 117.8 kB / 476.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1391, allocations: 0 / 476.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.1394, allocations: 31.98 kB / 476.5 MB, free: 6.684 MB / 350.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.001661/0.1411, allocations: 1.127 MB / 477.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.1413, allocations: 67.86 kB / 477.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1413, allocations: 0 / 477.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.973e-05/0.1414, allocations: 35.92 kB / 477.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1418, allocations: 35.5 kB / 477.8 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.1435, allocations: 1.546 MB / 479.4 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1437, allocations: 0.7012 MB / 480.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.908e-05/0.1438, allocations: 21.33 kB / 480.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.1439, allocations: 31.42 kB / 480.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1439, allocations: 0 / 480.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0228/0.1667, allocations: 3.462 MB / 483.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/7.589, allocations: 3.984 kB / 483.6 MB, free: 15.8 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches