Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10",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.001275/0.001275, allocations: 105.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.001182/0.001182, allocations: 191.8 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.512/1.512, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.219/0.219, allocations: 43.52 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.002089/0.002089, allocations: 77.45 kB / 441.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.125, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003367/0.1284, allocations: 1.904 MB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1298, allocations: 0.839 MB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.1299, allocations: 4 kB / 0.4902 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.1302, allocations: 43.7 kB / 0.4902 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1305, allocations: 59.64 kB / 0.4903 GB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.1308, allocations: 107.7 kB / 0.4904 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.131, allocations: 139.5 kB / 0.4905 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1311, allocations: 29.47 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.813e-05/0.1312, allocations: 59.7 kB / 0.4906 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.55e-05/0.1313, allocations: 51.66 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.1314, allocations: 8 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.871e-05/0.1315, allocations: 47.98 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.1315, allocations: 23.91 kB / 0.4907 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.293e-05/0.1316, allocations: 55.61 kB / 0.4908 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.1319, allocations: 147.3 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1319, allocations: 3.984 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1319, allocations: 0 / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1319, allocations: 0 / 0.4909 GB, free: 8.699 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007078/0.1326, allocations: 488.2 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1327, allocations: 19.89 kB / 0.4914 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.1327, allocations: 38.75 kB / 0.4914 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.1328, allocations: 16.84 kB / 0.4914 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.1331, allocations: 224.1 kB / 0.4916 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1331, allocations: 4.375 kB / 0.4917 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.291e-05/0.1332, allocations: 19.88 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002991/0.1335, allocations: 104.2 kB / 0.4918 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1335, allocations: 3.984 kB / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1335, allocations: 0 / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1335, allocations: 4 kB / 0.4918 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.1337, allocations: 51.89 kB / 0.4918 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006695/0.1344, allocations: 0.5126 MB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.1347, allocations: 82.66 kB / 0.4924 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.686e-05/0.1348, allocations: 36.84 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.1348, allocations: 0 / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.135, allocations: 91.31 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.135, allocations: 0 / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004195/0.1355, allocations: 145.7 kB / 0.4927 GB, free: 6.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.1355, allocations: 55.41 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.1357, allocations: 187.5 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1358, allocations: 29.8 kB / 0.4929 GB, free: 6.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.033e-05/0.1359, allocations: 116 kB / 0.493 GB, free: 6.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.1359, allocations: 31.75 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.1359, allocations: 29.7 kB / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1361, allocations: 326.8 kB / 0.4934 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.245e-05/0.1362, allocations: 27.98 kB / 0.4934 GB, free: 5.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1363, allocations: 60.27 kB / 0.4935 GB, free: 5.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002001/0.1365, allocations: 104.1 kB / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1365, allocations: 0 / 0.4936 GB, free: 5.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002807/0.1368, allocations: 141.4 kB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1369, allocations: 8 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1369, allocations: 0 / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.1369, allocations: 3.938 kB / 0.4937 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.828e-05/0.137, allocations: 27.98 kB / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.137, allocations: 7.984 kB / 0.4938 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.852e-05/0.1371, allocations: 15.83 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1371, allocations: 4 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001464/0.1373, allocations: 133.9 kB / 0.4939 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1373, allocations: 15.91 kB / 0.4939 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.1374, allocations: 17.41 kB / 0.494 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1374, allocations: 3.938 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1374, allocations: 0 / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1374, allocations: 0 / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.1376, allocations: 205.6 kB / 0.4941 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1376, allocations: 3.984 kB / 0.4942 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.1377, allocations: 20 kB / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1377, allocations: 0 / 0.4942 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1377, allocations: 4.094 kB / 0.4942 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.1377, allocations: 15.81 kB / 0.4942 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1377, allocations: 0 / 0.4942 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003977/0.1381, allocations: 180.9 kB / 0.4944 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.1382, allocations: 92.98 kB / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.1383, allocations: 0 / 0.4945 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.1383, allocations: 19.98 kB / 0.4945 GB, free: 4.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.1384, allocations: 4 kB / 0.4945 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.1384, allocations: 3.984 kB / 0.4945 GB, free: 4.633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.1385, allocations: 137.2 kB / 0.4946 GB, free: 4.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1385, allocations: 0 / 0.4946 GB, free: 4.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1388, allocations: 27.98 kB / 0.4946 GB, free: 4.473 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002105/0.1409, allocations: 1.024 MB / 0.4956 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.1412, allocations: 79.83 kB / 0.4957 GB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1412, allocations: 4 kB / 0.4957 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.1413, allocations: 31.98 kB / 0.4957 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.1417, allocations: 55.2 kB / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.1439, allocations: 1.748 MB / 0.4975 GB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.1443, allocations: 0.7084 MB / 0.4982 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.604e-05/0.1443, allocations: 21.42 kB / 0.4982 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/0.1444, allocations: 43.42 kB / 0.4983 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1444, allocations: 0 / 0.4983 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.1719, allocations: 3.758 MB / 0.5019 GB, free: 12.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.903/8.075, allocations: 0 / 0.5019 GB, free: 12.86 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches