Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.001772/0.001772, allocations: 108 kB / 16.41 MB, free: 6.484 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.00246/0.00246, allocations: 188.1 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.725/1.725, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2285/0.2285, allocations: 43.51 MB / 314.1 MB, free: 472 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.001469/0.001469, allocations: 72.23 kB / 441.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.127, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00499/0.132, allocations: 1.844 MB / 0.4893 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.1342, allocations: 0.9014 MB / 0.4902 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.1345, allocations: 3.938 kB / 0.4902 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.1351, allocations: 227.4 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.1356, allocations: 159.5 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.1362, allocations: 151.6 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.1366, allocations: 231.3 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1368, allocations: 29.52 kB / 0.4909 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.137, allocations: 99.66 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.1373, allocations: 151.5 kB / 0.4912 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.1373, allocations: 8 kB / 0.4912 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.1375, allocations: 51.98 kB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.1376, allocations: 55.75 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1377, allocations: 83.36 kB / 0.4914 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004183/0.1381, allocations: 215 kB / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1382, allocations: 0 / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1382, allocations: 0 / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.1382, allocations: 0 / 0.4916 GB, free: 8.023 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.0009283/0.1391, allocations: 0.5484 MB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.1392, allocations: 15.89 kB / 0.4921 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.479e-05/0.1393, allocations: 38.75 kB / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.739e-05/0.1394, allocations: 28.75 kB / 0.4922 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.1399, allocations: 276.4 kB / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.1399, allocations: 8.375 kB / 0.4924 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.1399, allocations: 7.938 kB / 0.4925 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002641/0.1402, allocations: 95.3 kB / 0.4925 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.1402, allocations: 11.97 kB / 0.4926 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1403, allocations: 4 kB / 0.4926 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1403, allocations: 0 / 0.4926 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.1404, allocations: 39.97 kB / 0.4926 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007082/0.1411, allocations: 448.9 kB / 0.493 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.1415, allocations: 121.3 kB / 0.4931 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.1416, allocations: 41.7 kB / 0.4932 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.1416, allocations: 4 kB / 0.4932 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/0.1419, allocations: 117 kB / 0.4933 GB, free: 6.039 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.1419, allocations: 0 / 0.4933 GB, free: 6.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009979/0.1429, allocations: 372.5 kB / 0.4937 GB, free: 5.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.143, allocations: 85.05 kB / 0.4937 GB, free: 5.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.1434, allocations: 428.5 kB / 0.4941 GB, free: 5.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.1434, allocations: 29.7 kB / 0.4942 GB, free: 5.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1435, allocations: 160.3 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.1436, allocations: 47.58 kB / 0.4944 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/0.1437, allocations: 29.72 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1438, allocations: 350.8 kB / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.144, allocations: 39.92 kB / 0.4948 GB, free: 4.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1441, allocations: 78.78 kB / 0.4948 GB, free: 4.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.1443, allocations: 119.3 kB / 0.495 GB, free: 4.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1443, allocations: 4 kB / 0.495 GB, free: 4.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003503/0.1447, allocations: 177.4 kB / 0.4951 GB, free: 4.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1447, allocations: 4 kB / 0.4951 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1447, allocations: 0 / 0.4951 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1447, allocations: 8.062 kB / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1449, allocations: 39.84 kB / 0.4952 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1449, allocations: 4 kB / 0.4952 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.36e-05/0.145, allocations: 8 kB / 0.4952 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.145, allocations: 4 kB / 0.4952 GB, free: 4.004 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.0001703/0.1452, allocations: 165.8 kB / 0.4954 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.1452, allocations: 31.77 kB / 0.4954 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.036e-05/0.1453, allocations: 34.94 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.1453, allocations: 7.938 kB / 0.4954 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.1454, allocations: 4 kB / 0.4954 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1454, allocations: 7.922 kB / 0.4954 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007973/0.1462, allocations: 0.6203 MB / 0.496 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1462, allocations: 0 / 0.496 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.1463, allocations: 23.92 kB / 0.4961 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1463, allocations: 0.75 kB / 0.4961 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.1463, allocations: 12.06 kB / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1463, allocations: 0 / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1463, allocations: 4 kB / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.1467, allocations: 371.9 kB / 0.4964 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.1468, allocations: 108.9 kB / 0.4965 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.1469, allocations: 8 kB / 0.4965 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.147, allocations: 4 kB / 0.4965 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.1471, allocations: 15.98 kB / 0.4966 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.1471, allocations: 15.97 kB / 0.4966 GB, free: 2.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003112/0.1474, allocations: 315 kB / 0.4969 GB, free: 2.164 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1474, allocations: 0 / 0.4969 GB, free: 2.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.1478, allocations: 39.98 kB / 0.4969 GB, free: 2.125 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.001857/0.1496, allocations: 1.271 MB / 0.4982 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.15, allocations: 111.8 kB / 0.4983 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.15, allocations: 4 kB / 0.4983 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.1501, allocations: 59.89 kB / 0.4983 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.1507, allocations: 61.92 kB / 0.4984 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.1538, allocations: 2.629 MB / 0.501 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1542, allocations: 0.7671 MB / 0.5017 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.926e-05/0.1543, allocations: 29.94 kB / 0.5017 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.1545, allocations: 79.41 kB / 0.5018 GB, free: 12.99 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1545, allocations: 4 kB / 0.5018 GB, free: 12.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.1807, allocations: 5.751 MB / 0.5074 GB, free: 7.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.059, allocations: 7.875 kB / 0.5074 GB, free: 7.191 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches