Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.001123/0.001123, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.001181/0.001181, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.458/1.458, 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.2208/0.2208, allocations: 43.53 MB / 314.1 MB, free: 468 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.001584/0.001584, allocations: 79.89 kB / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1202, allocations: 57.78 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003383/0.1237, allocations: 1.844 MB / 0.4893 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1252, allocations: 0.8974 MB / 0.4902 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.1253, allocations: 4 kB / 0.4902 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004041/0.1257, allocations: 159.5 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.1261, allocations: 135.5 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.1265, allocations: 147.6 kB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.1268, allocations: 215.3 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1269, allocations: 25.53 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.1271, allocations: 103.6 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.1273, allocations: 123.6 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.1273, allocations: 11.94 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1274, allocations: 47.97 kB / 0.4911 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.051e-05/0.1275, allocations: 47.84 kB / 0.4911 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.465e-05/0.1276, allocations: 75.41 kB / 0.4912 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.128, allocations: 199 kB / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.128, allocations: 0 / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.128, allocations: 0 / 0.4914 GB, free: 8.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.128, allocations: 0 / 0.4914 GB, free: 8.203 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000772/0.1288, allocations: 0.5175 MB / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.1288, allocations: 11.89 kB / 0.4919 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.776e-05/0.1289, allocations: 34.75 kB / 0.4919 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.129, allocations: 24.75 kB / 0.492 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.1294, allocations: 275.7 kB / 0.4922 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.1294, allocations: 4.375 kB / 0.4922 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.1294, allocations: 7.938 kB / 0.4922 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.1297, allocations: 103.3 kB / 0.4923 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.1297, allocations: 0 / 0.4923 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.1297, allocations: 3.984 kB / 0.4923 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1298, allocations: 4 kB / 0.4923 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.1299, allocations: 35.92 kB / 0.4924 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.1305, allocations: 448.9 kB / 0.4928 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.1308, allocations: 109.3 kB / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1309, allocations: 49.64 kB / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1309, allocations: 4 kB / 0.493 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.1312, allocations: 113 kB / 0.4931 GB, free: 6.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.1312, allocations: 0 / 0.4931 GB, free: 6.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009506/0.1321, allocations: 364.7 kB / 0.4934 GB, free: 5.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.1322, allocations: 85.05 kB / 0.4935 GB, free: 5.809 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.1325, allocations: 355 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.1326, allocations: 33.7 kB / 0.4939 GB, free: 5.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.248e-05/0.1327, allocations: 136.4 kB / 0.494 GB, free: 5.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.1327, allocations: 63.5 kB / 0.4941 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/0.1328, allocations: 29.72 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1329, allocations: 338.8 kB / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.133, allocations: 39.97 kB / 0.4945 GB, free: 4.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1332, allocations: 78.84 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.1334, allocations: 119.5 kB / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1334, allocations: 0 / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003209/0.1337, allocations: 185.4 kB / 0.4948 GB, free: 4.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1337, allocations: 8 kB / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1338, allocations: 0 / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1338, allocations: 0 / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1339, allocations: 43.8 kB / 0.4949 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1339, allocations: 0 / 0.4949 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.545e-05/0.134, allocations: 7.984 kB / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.1341, allocations: 12 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001381/0.1342, allocations: 157.8 kB / 0.495 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.1342, allocations: 23.84 kB / 0.4951 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.904e-05/0.1343, allocations: 33.73 kB / 0.4951 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1343, allocations: 3.938 kB / 0.4951 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1343, allocations: 0 / 0.4951 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.1344, allocations: 3.984 kB / 0.4951 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007294/0.1351, allocations: 0.6203 MB / 0.4957 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1351, allocations: 0 / 0.4957 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.083e-05/0.1352, allocations: 16 kB / 0.4957 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.1352, allocations: 0 / 0.4957 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1352, allocations: 7.984 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1352, allocations: 5.062 kB / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1352, allocations: 0 / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.1356, allocations: 372.2 kB / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.1357, allocations: 96.92 kB / 0.4962 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.1357, allocations: 8 kB / 0.4962 GB, free: 2.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.1359, allocations: 11.98 kB / 0.4962 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.136, allocations: 15.98 kB / 0.4962 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.136, allocations: 7.938 kB / 0.4962 GB, free: 2.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002406/0.1362, allocations: 269.9 kB / 0.4965 GB, free: 2.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1362, allocations: 0 / 0.4965 GB, free: 2.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003308/0.1366, allocations: 36 kB / 0.4965 GB, free: 2.547 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001621/0.1382, allocations: 1.26 MB / 0.4977 GB, free: 1.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003078/0.1385, allocations: 116 kB / 0.4979 GB, free: 1.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1385, allocations: 4.062 kB / 0.4979 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.1387, allocations: 55.92 kB / 0.4979 GB, free: 1.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.1392, allocations: 52.84 kB / 0.498 GB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.1419, allocations: 2.458 MB / 0.5004 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1423, allocations: 0.7554 MB / 0.5011 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.513e-05/0.1424, allocations: 33.92 kB / 0.5011 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.1425, allocations: 75.41 kB / 0.5012 GB, free: 13.61 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1425, allocations: 3.938 kB / 0.5012 GB, free: 13.61 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.1652, allocations: 5.403 MB / 0.5065 GB, free: 8.176 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.559, allocations: 0 / 0.5065 GB, free: 8.176 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches