Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",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.001459/0.001459, allocations: 105.1 kB / 16.41 MB, free: 6.457 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.001387/0.001387, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.506/1.506, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2258/0.2258, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.002007/0.002008, allocations: 81.45 kB / 441.4 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1323, allocations: 57.78 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003021/0.1354, allocations: 1.7 MB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1368, allocations: 0.7922 MB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.1368, allocations: 4 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.1372, allocations: 43.83 kB / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1374, allocations: 59.69 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.1377, allocations: 87.77 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.1378, allocations: 99.62 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1379, allocations: 12.22 kB / 0.4902 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.461e-05/0.138, allocations: 43.78 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/0.1381, allocations: 31.84 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1381, allocations: 4 kB / 0.4903 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.831e-05/0.1383, allocations: 39.92 kB / 0.4903 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.176e-05/0.1383, allocations: 27.91 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.1384, allocations: 35.75 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.1386, allocations: 119.5 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1386, allocations: 0 / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1386, allocations: 0 / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.1386, allocations: 0 / 0.4905 GB, free: 9.109 MB / 382.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.0005835/0.1392, allocations: 422.7 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1393, allocations: 15.89 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.1393, allocations: 34.69 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.415e-05/0.1394, allocations: 8.891 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1397, allocations: 216.8 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1397, allocations: 4.375 kB / 0.4912 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.1397, allocations: 3.938 kB / 0.4912 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1399, allocations: 57.67 kB / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.1399, allocations: 7.984 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1399, allocations: 4 kB / 0.4912 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1399, allocations: 0 / 0.4912 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.636e-05/0.14, allocations: 19.92 kB / 0.4913 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.1404, allocations: 288.9 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001823/0.1405, allocations: 58.67 kB / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.963e-05/0.1406, allocations: 24.84 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.1406, allocations: 0 / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.1408, allocations: 71.33 kB / 0.4917 GB, free: 7.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.1408, allocations: 0 / 0.4917 GB, free: 7.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005369/0.1414, allocations: 177.3 kB / 0.4918 GB, free: 7.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.1414, allocations: 51.41 kB / 0.4919 GB, free: 7.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1416, allocations: 207.3 kB / 0.4921 GB, free: 7.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1416, allocations: 25.7 kB / 0.4921 GB, free: 7.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.1417, allocations: 108.1 kB / 0.4922 GB, free: 7.129 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.1418, allocations: 23.8 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.1418, allocations: 25.7 kB / 0.4923 GB, free: 7.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.142, allocations: 326.8 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.491e-05/0.142, allocations: 15.98 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.498e-05/0.1421, allocations: 41.66 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.1422, allocations: 65.62 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-06/0.1422, allocations: 0 / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.1424, allocations: 101.6 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.1424, allocations: 4 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1425, allocations: 0 / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1425, allocations: 4 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/0.1426, allocations: 15.94 kB / 0.4928 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1426, allocations: 4.031 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/0.1426, allocations: 15.92 kB / 0.4928 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1427, allocations: 0 / 0.4928 GB, free: 6.465 MB / 382.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.0001099/0.1428, allocations: 125.8 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.1428, allocations: 15.94 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.1429, allocations: 17.41 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1429, allocations: 0 / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1429, allocations: 384 / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1429, allocations: 7.938 kB / 0.493 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.1434, allocations: 395.3 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1434, allocations: 4 kB / 0.4934 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.1434, allocations: 11.98 kB / 0.4934 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.1434, allocations: 3.938 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1434, allocations: 7.938 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.1434, allocations: 240 / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1435, allocations: 0 / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1437, allocations: 204.4 kB / 0.4936 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.1438, allocations: 93 kB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1438, allocations: 3.938 kB / 0.4937 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.1439, allocations: 4 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.1439, allocations: 11.94 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.1439, allocations: 3.984 kB / 0.4937 GB, free: 5.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.1441, allocations: 152.9 kB / 0.4938 GB, free: 5.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1441, allocations: 0 / 0.4938 GB, free: 5.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.1443, allocations: 20 kB / 0.4939 GB, free: 5.293 MB / 382.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.002209/0.1466, allocations: 1.096 MB / 0.4949 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1468, allocations: 59.91 kB / 0.495 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1468, allocations: 0 / 0.495 GB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.83e-05/0.1469, allocations: 31.92 kB / 0.495 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.1473, allocations: 39.95 kB / 0.4951 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.1492, allocations: 1.654 MB / 0.4967 GB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1496, allocations: 0.708 MB / 0.4974 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.505e-05/0.1496, allocations: 16.88 kB / 0.4974 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.289e-05/0.1497, allocations: 35.42 kB / 0.4974 GB, free: 1.551 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1497, allocations: 0 / 0.4974 GB, free: 1.551 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.1761, allocations: 3.426 MB / 0.5008 GB, free: 14.1 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/8.064, allocations: 8.219 kB / 0.5008 GB, free: 14.09 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_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_Test43.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches