Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test61",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.001246/0.001246, 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.001356/0.001356, 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.411/1.411, allocations: 222.9 MB / 242.2 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.2337/0.2337, allocations: 44.17 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 69.3 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1236, allocations: 60.83 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003326/0.127, allocations: 1.653 MB / 471 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1285, allocations: 0.8574 MB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1286, allocations: 0 / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.129, allocations: 51.75 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.1293, allocations: 71.69 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003732/0.1297, allocations: 103.6 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.1299, allocations: 87.7 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.313e-05/0.13, allocations: 11.98 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1301, allocations: 39.78 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.165e-05/0.1302, allocations: 31.84 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.1302, allocations: 4 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1303, allocations: 20 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.1304, allocations: 35.92 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.1305, allocations: 43.66 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.1307, allocations: 115.9 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1307, allocations: 4 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1307, allocations: 0 / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1308, allocations: 0 / 472.5 MB, free: 11.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006736/0.1314, allocations: 426.7 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1315, allocations: 12.03 kB / 472.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.7e-05/0.1315, allocations: 30.75 kB / 472.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.1316, allocations: 16.75 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.1319, allocations: 216 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1319, allocations: 4.375 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1319, allocations: 3.938 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1321, allocations: 53.61 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1321, allocations: 0 / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1321, allocations: 0 / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1321, allocations: 0 / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.95e-05/0.1322, allocations: 15.98 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.1324, allocations: 193.7 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.1326, allocations: 54.55 kB / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.1326, allocations: 20.84 kB / 473.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1327, allocations: 0 / 473.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.1329, allocations: 67.33 kB / 473.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.1329, allocations: 4 kB / 473.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002863/0.1332, allocations: 97.48 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1332, allocations: 51.41 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.1335, allocations: 262.9 kB / 474 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.1335, allocations: 25.7 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.1336, allocations: 116.1 kB / 474.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.1336, allocations: 15.89 kB / 474.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.1336, allocations: 21.7 kB / 474.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1337, allocations: 330.8 kB / 474.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.1338, allocations: 12 kB / 474.5 MB, free: 8.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.663e-05/0.1339, allocations: 33.7 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.178e-05/0.134, allocations: 45.89 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.134, allocations: 3.938 kB / 474.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001582/0.1341, allocations: 93.44 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1342, allocations: 4 kB / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1342, allocations: 0 / 474.7 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.1342, allocations: 4 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.025e-05/0.1343, allocations: 11.98 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1343, allocations: 0 / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.1343, allocations: 11.84 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1344, allocations: 0 / 474.7 MB, free: 8.66 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 (7): * Single equations (assignments): 7 * 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.0001127/0.1345, allocations: 144.8 kB / 474.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.1345, allocations: 15.94 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.1346, allocations: 16.98 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1346, allocations: 0 / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1346, allocations: 7.984 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1346, allocations: 0 / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.1347, allocations: 193.6 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1347, allocations: 0 / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.1348, allocations: 4 kB / 475.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1348, allocations: 0 / 475.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.1348, allocations: 4 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1348, allocations: 160 / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1348, allocations: 4 kB / 475.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.135, allocations: 112.9 kB / 475.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.357e-05/0.135, allocations: 92.86 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1351, allocations: 0 / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.1351, allocations: 12.11 kB / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.1352, allocations: 4 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.1352, allocations: 4 kB / 475.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00016/0.1354, allocations: 196.2 kB / 475.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1354, allocations: 0 / 475.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002263/0.1356, allocations: 23.98 kB / 475.5 MB, free: 7.746 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001192/0.1368, allocations: 0.95 MB / 476.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.137, allocations: 51.92 kB / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.137, allocations: 0 / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.341e-05/0.1371, allocations: 19.98 kB / 476.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.1373, allocations: 27.86 kB / 476.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.1391, allocations: 1.654 MB / 478.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.1394, allocations: 0.7109 MB / 478.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.305e-05/0.1394, allocations: 12.56 kB / 478.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.1395, allocations: 35.42 kB / 479 MB, free: 4.309 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1395, allocations: 0 / 479 MB, free: 4.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.1573, allocations: 3.318 MB / 482.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/7.595, allocations: 17.28 kB / 482.3 MB, free: 1.059 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_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_Test61.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches