Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.001115/0.001115, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00115/0.00115, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.21 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.2919/0.2919, allocations: 44.19 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001275, allocations: 64.25 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1232, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003089/0.1263, allocations: 1.708 MB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1284, allocations: 1.475 MB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.378e-05/0.1285, allocations: 7.938 kB / 472.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.1288, allocations: 39.83 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.1291, allocations: 55.7 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.1295, allocations: 114.8 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1297, allocations: 95.7 kB / 472.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1298, allocations: 12.23 kB / 472.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.658e-05/0.1299, allocations: 43.78 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1301, allocations: 35.84 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.1301, allocations: 4 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1303, allocations: 63.95 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.1303, allocations: 15.88 kB / 473 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.28e-05/0.1304, allocations: 35.78 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.1307, allocations: 119.9 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1307, allocations: 0 / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1307, allocations: 0 / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1307, allocations: 0 / 473.2 MB, free: 10.43 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.0006898/0.1314, allocations: 407.2 kB / 473.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.1314, allocations: 12.03 kB / 473.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.1315, allocations: 34.75 kB / 473.6 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.1316, allocations: 8.844 kB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.1319, allocations: 207.1 kB / 473.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.1319, allocations: 4.375 kB / 473.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.1319, allocations: 7.938 kB / 473.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.1321, allocations: 71.38 kB / 473.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.1322, allocations: 4 kB / 473.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1322, allocations: 0 / 473.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1322, allocations: 0 / 473.9 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.145e-05/0.1323, allocations: 19.98 kB / 473.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.1328, allocations: 288.8 kB / 474.2 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.133, allocations: 54.69 kB / 474.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.517e-05/0.1331, allocations: 24.84 kB / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.1332, allocations: 0 / 474.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.1335, allocations: 71.33 kB / 474.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1335, allocations: 0 / 474.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000701/0.1342, allocations: 169.2 kB / 474.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.396e-05/0.1343, allocations: 85.05 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.1345, allocations: 161.7 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1345, allocations: 29.7 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.1346, allocations: 92.14 kB / 474.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.1346, allocations: 27.64 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.1347, allocations: 21.72 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1349, allocations: 318.8 kB / 475.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.71e-05/0.1349, allocations: 23.98 kB / 475.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.289e-05/0.135, allocations: 46.56 kB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.1352, allocations: 61.72 kB / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1352, allocations: 0 / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002043/0.1354, allocations: 97.94 kB / 475.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1354, allocations: 8 kB / 475.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1354, allocations: 0 / 475.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1354, allocations: 0 / 475.5 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1355, allocations: 27.98 kB / 475.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1356, allocations: 4 kB / 475.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.1356, allocations: 7.938 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1356, allocations: 4 kB / 475.5 MB, free: 7.82 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.0001087/0.1358, allocations: 117.8 kB / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.1358, allocations: 15.89 kB / 475.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.411e-05/0.1358, allocations: 12.72 kB / 475.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1358, allocations: 0 / 475.7 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1359, allocations: 4 kB / 475.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1359, allocations: 3.938 kB / 475.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.1363, allocations: 391.3 kB / 476.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1364, allocations: 0 / 476.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.1364, allocations: 8 kB / 476.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1364, allocations: 3.938 kB / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1364, allocations: 7.938 kB / 476.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1364, allocations: 0 / 476.1 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1364, allocations: 3.969 kB / 476.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.1367, allocations: 204.2 kB / 476.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.1368, allocations: 89 kB / 476.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.1368, allocations: 7.938 kB / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.476e-05/0.1369, allocations: 4 kB / 476.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1369, allocations: 7.984 kB / 476.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.137, allocations: 4.188 kB / 476.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001543/0.1371, allocations: 121.5 kB / 476.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1371, allocations: 3.938 kB / 476.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000291/0.1374, allocations: 28 kB / 476.5 MB, free: 6.695 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.001763/0.1392, allocations: 1.138 MB / 477.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.1394, allocations: 63.91 kB / 477.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1394, allocations: 0 / 477.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.1395, allocations: 23.94 kB / 477.8 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.1399, allocations: 37.58 kB / 477.8 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.1415, allocations: 1.542 MB / 479.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1418, allocations: 0.7011 MB / 480 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.725e-05/0.1418, allocations: 25.33 kB / 480.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.415e-05/0.1419, allocations: 31.41 kB / 480.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1419, allocations: 0 / 480.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/0.1657, allocations: 3.465 MB / 483.6 MB, free: 15.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.451/7.617, allocations: 6.172 kB / 483.6 MB, free: 15.8 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_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_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches