Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test61,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_3_2_3_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.001292/0.001292, allocations: 106.1 kB / 16.4 MB, free: 6.512 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.001246/0.001246, allocations: 188.2 kB / 17.34 MB, free: 5.738 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.413/1.413, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.223/0.223, allocations: 43.54 MB / 314.1 MB, free: 460 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.001995/0.001995, allocations: 73.45 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1296, allocations: 57.79 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003429/0.1331, allocations: 1.65 MB / 0.4891 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1345, allocations: 0.7845 MB / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.901e-05/0.1346, allocations: 0 / 0.4899 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004228/0.135, allocations: 51.75 kB / 0.4899 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1353, allocations: 63.69 kB / 0.49 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.1355, allocations: 79.77 kB / 0.49 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.1357, allocations: 87.7 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.1358, allocations: 19.95 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.544e-05/0.1359, allocations: 39.8 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.136, allocations: 27.84 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.136, allocations: 4 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.498e-05/0.1361, allocations: 39.92 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.994e-05/0.1362, allocations: 23.92 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.1362, allocations: 39.67 kB / 0.4903 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.1367, allocations: 111.5 kB / 0.4904 GB, free: 9.188 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1367, allocations: 4 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1367, allocations: 4 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.1367, allocations: 0 / 0.4904 GB, free: 9.18 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006294/0.1373, allocations: 430.6 kB / 0.4908 GB, free: 8.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.1374, allocations: 15.89 kB / 0.4908 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.1374, allocations: 38.73 kB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.1375, allocations: 16.78 kB / 0.4909 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.1378, allocations: 223.8 kB / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1379, allocations: 384 / 0.4911 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1379, allocations: 3.938 kB / 0.4911 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.1381, allocations: 49.69 kB / 0.4912 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1381, allocations: 0 / 0.4912 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1381, allocations: 3.984 kB / 0.4912 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1381, allocations: 0 / 0.4912 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.249e-05/0.1382, allocations: 12 kB / 0.4912 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.1385, allocations: 193.7 kB / 0.4914 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001658/0.1386, allocations: 58.5 kB / 0.4914 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.231e-05/0.1387, allocations: 20.84 kB / 0.4914 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.1387, allocations: 0 / 0.4914 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.1389, allocations: 63.39 kB / 0.4915 GB, free: 7.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.1389, allocations: 3.938 kB / 0.4915 GB, free: 7.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003029/0.1392, allocations: 101.5 kB / 0.4916 GB, free: 7.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.1393, allocations: 59.39 kB / 0.4917 GB, free: 7.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.1396, allocations: 254.6 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1396, allocations: 25.7 kB / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.1397, allocations: 112.1 kB / 0.492 GB, free: 7.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.1398, allocations: 23.86 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.1398, allocations: 17.72 kB / 0.4921 GB, free: 7.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.14, allocations: 322.8 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.559e-05/0.1401, allocations: 15.98 kB / 0.4924 GB, free: 6.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.468e-05/0.1401, allocations: 37.7 kB / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.1402, allocations: 45.59 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1402, allocations: 3.938 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000162/0.1404, allocations: 85.58 kB / 0.4926 GB, free: 6.734 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1404, allocations: 4 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1404, allocations: 320 / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1405, allocations: 7.938 kB / 0.4926 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.994e-05/0.1406, allocations: 12.03 kB / 0.4926 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.1406, allocations: 8.141 kB / 0.4926 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.1407, allocations: 7.953 kB / 0.4926 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.1407, allocations: 0 / 0.4926 GB, free: 6.695 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 (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.0001312/0.1408, allocations: 145.7 kB / 0.4927 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.1409, allocations: 15.91 kB / 0.4928 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.1409, allocations: 13 kB / 0.4928 GB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1409, allocations: 4 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1409, allocations: 4 kB / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1409, allocations: 0 / 0.4928 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.1412, allocations: 201.5 kB / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1412, allocations: 0 / 0.493 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.1412, allocations: 4 kB / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.1412, allocations: 0 / 0.493 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1412, allocations: 3.984 kB / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.1413, allocations: 0 / 0.493 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1413, allocations: 7.938 kB / 0.493 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.1415, allocations: 117 kB / 0.4931 GB, free: 6.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.1415, allocations: 85.06 kB / 0.4932 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.1416, allocations: 7.938 kB / 0.4932 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.1416, allocations: 4 kB / 0.4932 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.1417, allocations: 3.984 kB / 0.4932 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1418, allocations: 4 kB / 0.4932 GB, free: 5.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.142, allocations: 192.5 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.142, allocations: 0 / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000212/0.1422, allocations: 23.89 kB / 0.4934 GB, free: 5.777 MB / 382.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.001911/0.1441, allocations: 0.9571 MB / 0.4943 GB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.1443, allocations: 43.97 kB / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1443, allocations: 0 / 0.4944 GB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.259e-05/0.1444, allocations: 24 kB / 0.4944 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.1446, allocations: 27.97 kB / 0.4944 GB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.1468, allocations: 1.649 MB / 0.496 GB, free: 3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.1472, allocations: 0.7119 MB / 0.4967 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.174e-05/0.1473, allocations: 20.55 kB / 0.4968 GB, free: 2.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.957e-05/0.1474, allocations: 39.42 kB / 0.4968 GB, free: 2.203 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1474, allocations: 0 / 0.4968 GB, free: 2.203 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.1743, allocations: 3.409 MB / 0.5001 GB, free: 14.78 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.879/8.054, allocations: 16 kB / 0.5001 GB, free: 14.76 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches