Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.001041/0.001041, allocations: 104.3 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.001001/0.001001, 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.357/1.357, 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.1981/0.1981, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 60.25 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1269, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003148/0.1301, allocations: 1.692 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001365/0.1315, allocations: 0.8807 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.1316, allocations: 4 kB / 471.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.1319, allocations: 47.81 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.1322, allocations: 63.69 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.1326, allocations: 107.6 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1328, allocations: 99.69 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1329, allocations: 20.2 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.133, allocations: 39.8 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.208e-05/0.1331, allocations: 27.84 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.1331, allocations: 4 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1332, allocations: 43.98 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.1333, allocations: 23.92 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.701e-05/0.1334, allocations: 51.59 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1336, allocations: 127.8 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1336, allocations: 0 / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1336, allocations: 4 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1337, allocations: 0 / 472.6 MB, free: 11 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.0005971/0.1343, allocations: 438.7 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1343, allocations: 12.03 kB / 473 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.1344, allocations: 34.73 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.1344, allocations: 20.75 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.1346, allocations: 212 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1347, allocations: 384 / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.1347, allocations: 11.94 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.1349, allocations: 57.61 kB / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1349, allocations: 0 / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1349, allocations: 0 / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1349, allocations: 0 / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.414e-05/0.135, allocations: 23.98 kB / 473.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.1354, allocations: 292.9 kB / 473.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1356, allocations: 58.62 kB / 473.7 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.1357, allocations: 24.84 kB / 473.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1357, allocations: 0 / 473.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.1359, allocations: 63.39 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.1359, allocations: 0 / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005813/0.1365, allocations: 189.2 kB / 474 MB, free: 9.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.1366, allocations: 55.41 kB / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.1368, allocations: 266.9 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1368, allocations: 29.7 kB / 474.3 MB, free: 9.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.186e-05/0.1369, allocations: 112.1 kB / 474.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.137, allocations: 23.7 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.137, allocations: 21.7 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1371, allocations: 326.8 kB / 474.8 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.1372, allocations: 27.98 kB / 474.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.99e-05/0.1373, allocations: 45.7 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1374, allocations: 57.78 kB / 474.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1374, allocations: 0 / 474.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002034/0.1376, allocations: 109.4 kB / 475.1 MB, free: 8.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1376, allocations: 4.188 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1377, allocations: 4.031 kB / 475.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1377, allocations: 7.938 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.1378, allocations: 15.98 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1378, allocations: 0 / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.191e-05/0.1379, allocations: 11.88 kB / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1379, allocations: 0 / 475.1 MB, free: 8.246 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.0001159/0.138, allocations: 137.8 kB / 475.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.138, allocations: 15.81 kB / 475.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.1381, allocations: 25.39 kB / 475.3 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1381, allocations: 4 kB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1381, allocations: 0 / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1381, allocations: 7.922 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.1386, allocations: 399.3 kB / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1386, allocations: 0 / 475.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.1386, allocations: 8 kB / 475.7 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1386, allocations: 7.938 kB / 475.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1386, allocations: 4 kB / 475.7 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1387, allocations: 4.031 kB / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1387, allocations: 0 / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.1389, allocations: 204.1 kB / 475.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.139, allocations: 92.91 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.139, allocations: 7.938 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.654e-05/0.1391, allocations: 4 kB / 476 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.551e-05/0.1391, allocations: 11.98 kB / 476 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.1391, allocations: 0 / 476 MB, free: 7.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.1393, allocations: 200.2 kB / 476.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1393, allocations: 0 / 476.2 MB, free: 7.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1396, allocations: 24 kB / 476.2 MB, free: 7.008 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.001405/0.141, allocations: 1.104 MB / 477.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.1412, allocations: 67.91 kB / 477.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1412, allocations: 4.062 kB / 477.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.225e-05/0.1413, allocations: 24 kB / 477.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.1417, allocations: 36.48 kB / 477.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.1436, allocations: 1.806 MB / 479.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1439, allocations: 0.7157 MB / 480 MB, free: 3.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.934e-05/0.144, allocations: 17.19 kB / 480 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.1441, allocations: 43.42 kB / 480 MB, free: 3.234 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1441, allocations: 0 / 480 MB, free: 3.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.1655, allocations: 3.62 MB / 483.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/7.828, allocations: 12.05 kB / 483.7 MB, free: 15.69 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_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_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches