Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.001423/0.001423, allocations: 107.8 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.001371/0.001372, allocations: 189.5 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.403/1.403, 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.2249/0.2249, allocations: 43.53 MB / 314.1 MB, free: 452 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.002029/0.002029, allocations: 77.45 kB / 441.4 MB, free: 6.066 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1254, allocations: 57.79 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003214/0.1286, allocations: 1.847 MB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1302, allocations: 0.9013 MB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.458e-05/0.1303, allocations: 11.94 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005375/0.1308, allocations: 251.4 kB / 0.4904 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.1312, allocations: 183.4 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.1316, allocations: 143.7 kB / 0.4907 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.1319, allocations: 247.3 kB / 0.491 GB, free: 8.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.132, allocations: 21.55 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.1322, allocations: 131.5 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.1324, allocations: 171.5 kB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.1325, allocations: 8 kB / 0.4913 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1326, allocations: 47.98 kB / 0.4913 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.573e-05/0.1327, allocations: 63.7 kB / 0.4914 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.1328, allocations: 87.3 kB / 0.4915 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.1331, allocations: 222.9 kB / 0.4917 GB, free: 7.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1332, allocations: 0 / 0.4917 GB, free: 7.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1332, allocations: 0 / 0.4917 GB, free: 7.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1332, allocations: 0 / 0.4917 GB, free: 7.871 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.0008152/0.134, allocations: 0.5716 MB / 0.4922 GB, free: 7.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.134, allocations: 15.89 kB / 0.4923 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.943e-05/0.1341, allocations: 42.73 kB / 0.4923 GB, free: 7.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.1342, allocations: 32.73 kB / 0.4923 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.1346, allocations: 284.4 kB / 0.4926 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1346, allocations: 4.359 kB / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.1346, allocations: 7.938 kB / 0.4926 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.1349, allocations: 99.3 kB / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.1349, allocations: 0 / 0.4927 GB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1349, allocations: 8 kB / 0.4927 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1349, allocations: 4 kB / 0.4927 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.135, allocations: 35.97 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.1356, allocations: 456.9 kB / 0.4932 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.1359, allocations: 117.3 kB / 0.4933 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.896e-05/0.136, allocations: 41.7 kB / 0.4933 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.136, allocations: 0 / 0.4933 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002275/0.1363, allocations: 113 kB / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.1363, allocations: 0 / 0.4934 GB, free: 5.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009347/0.1372, allocations: 396.6 kB / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.1373, allocations: 85.05 kB / 0.4939 GB, free: 5.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/0.1379, allocations: 477.7 kB / 0.4944 GB, free: 4.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1379, allocations: 33.7 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.138, allocations: 164.3 kB / 0.4945 GB, free: 4.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.1381, allocations: 51.58 kB / 0.4946 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.1382, allocations: 37.7 kB / 0.4946 GB, free: 4.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1384, allocations: 346.7 kB / 0.495 GB, free: 4.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.1385, allocations: 43.92 kB / 0.495 GB, free: 4.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.1386, allocations: 67.41 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.1388, allocations: 127.3 kB / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1388, allocations: 0 / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000343/0.1392, allocations: 189.3 kB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1392, allocations: 4 kB / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1392, allocations: 0 / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.1393, allocations: 8.062 kB / 0.4954 GB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1394, allocations: 35.86 kB / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1394, allocations: 4 kB / 0.4954 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.843e-05/0.1395, allocations: 7.984 kB / 0.4954 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.1395, allocations: 8 kB / 0.4954 GB, free: 3.727 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.0001827/0.1397, allocations: 169.8 kB / 0.4956 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.1398, allocations: 27.81 kB / 0.4956 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.156e-05/0.1399, allocations: 34.81 kB / 0.4957 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.1399, allocations: 15.92 kB / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.1399, allocations: 0 / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.1399, allocations: 3.938 kB / 0.4957 GB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008208/0.1407, allocations: 0.6323 MB / 0.4963 GB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1408, allocations: 4 kB / 0.4963 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.1408, allocations: 15.94 kB / 0.4963 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.1408, allocations: 8.047 kB / 0.4963 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.1408, allocations: 11.98 kB / 0.4963 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.1409, allocations: 0 / 0.4963 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1409, allocations: 0 / 0.4963 GB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.1413, allocations: 372.7 kB / 0.4967 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.851e-05/0.1414, allocations: 112.9 kB / 0.4968 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.1414, allocations: 0 / 0.4968 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.1416, allocations: 11.98 kB / 0.4968 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.1417, allocations: 11.98 kB / 0.4968 GB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.1417, allocations: 16 kB / 0.4968 GB, free: 2.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003701/0.1421, allocations: 359.1 kB / 0.4972 GB, free: 1.832 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1421, allocations: 0 / 0.4972 GB, free: 1.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000341/0.1424, allocations: 32 kB / 0.4972 GB, free: 1.801 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.002446/0.1449, allocations: 1.273 MB / 0.4984 GB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003191/0.1452, allocations: 123.8 kB / 0.4986 GB, free: 432 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1452, allocations: 4 kB / 0.4986 GB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1454, allocations: 52.17 kB / 0.4986 GB, free: 376 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.1459, allocations: 62.02 kB / 0.4987 GB, free: 316 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003343/0.1493, allocations: 2.745 MB / 0.5014 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.1498, allocations: 0.771 MB / 0.5021 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.1499, allocations: 29.92 kB / 0.5021 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.1501, allocations: 91.41 kB / 0.5022 GB, free: 12.53 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1501, allocations: 0 / 0.5022 GB, free: 12.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/0.1814, allocations: 5.97 MB / 0.5081 GB, free: 6.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.284, allocations: 11.81 kB / 0.5081 GB, free: 6.52 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches