Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.001266/0.001266, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001265/0.001265, allocations: 189.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.434/1.434, 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.2245/0.2245, 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.002291/0.002291, allocations: 75.91 kB / 441.4 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1237, allocations: 57.8 MB / 499.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004104/0.1279, allocations: 1.99 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1295, allocations: 0.8934 MB / 0.4903 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1296, allocations: 7.938 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.13, allocations: 43.7 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1303, allocations: 83.48 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.1307, allocations: 123.6 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.131, allocations: 191.5 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1311, allocations: 33.66 kB / 0.4908 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.1312, allocations: 83.62 kB / 0.4908 GB, free: 8.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.1314, allocations: 79.61 kB / 0.4909 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.1314, allocations: 12 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.1315, allocations: 51.98 kB / 0.491 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.1316, allocations: 35.84 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1317, allocations: 75.52 kB / 0.4911 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003167/0.1321, allocations: 191.2 kB / 0.4913 GB, free: 8.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1321, allocations: 0 / 0.4913 GB, free: 8.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1321, allocations: 0 / 0.4913 GB, free: 8.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.655e-06/0.1321, allocations: 0 / 0.4913 GB, free: 8.355 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009994/0.1331, allocations: 0.5712 MB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1331, allocations: 15.89 kB / 0.4918 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.933e-05/0.1332, allocations: 42.73 kB / 0.4919 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.369e-05/0.1333, allocations: 16.84 kB / 0.4919 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.1337, allocations: 248.9 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.1337, allocations: 8.375 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/0.1337, allocations: 15.94 kB / 0.4921 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004342/0.1342, allocations: 146.8 kB / 0.4923 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1342, allocations: 4 kB / 0.4923 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.1342, allocations: 4 kB / 0.4923 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1342, allocations: 0 / 0.4923 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004578/0.1347, allocations: 127.4 kB / 0.4924 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006974/0.1354, allocations: 0.5361 MB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006707/0.1361, allocations: 166.5 kB / 0.4931 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000258/0.1364, allocations: 80.73 kB / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1364, allocations: 4 kB / 0.4932 GB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/0.1368, allocations: 127.3 kB / 0.4933 GB, free: 6.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.1368, allocations: 0 / 0.4933 GB, free: 6.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009116/0.1377, allocations: 261.2 kB / 0.4935 GB, free: 5.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1378, allocations: 63.34 kB / 0.4936 GB, free: 5.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.138, allocations: 223.2 kB / 0.4938 GB, free: 5.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.1381, allocations: 29.7 kB / 0.4939 GB, free: 5.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1382, allocations: 124.4 kB / 0.494 GB, free: 5.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.1382, allocations: 43.67 kB / 0.494 GB, free: 5.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/0.1383, allocations: 41.7 kB / 0.4941 GB, free: 5.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1385, allocations: 326.8 kB / 0.4944 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.1387, allocations: 71.86 kB / 0.4944 GB, free: 4.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.139, allocations: 104.2 kB / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005476/0.1396, allocations: 193.8 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1396, allocations: 0 / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000663/0.1403, allocations: 255 kB / 0.495 GB, free: 4.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.1403, allocations: 33.83 kB / 0.495 GB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1403, allocations: 4 kB / 0.495 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.1404, allocations: 11.88 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.1405, allocations: 31.97 kB / 0.495 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1406, allocations: 7.938 kB / 0.495 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.1407, allocations: 31.86 kB / 0.4951 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.1408, allocations: 4 kB / 0.4951 GB, free: 4.133 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001301/0.1409, allocations: 137.8 kB / 0.4952 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.1409, allocations: 15.91 kB / 0.4952 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.38e-05/0.141, allocations: 25.39 kB / 0.4952 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.141, allocations: 3.938 kB / 0.4953 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.141, allocations: 0 / 0.4953 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.141, allocations: 0 / 0.4953 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.1413, allocations: 233.5 kB / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1413, allocations: 0 / 0.4955 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.1415, allocations: 23.92 kB / 0.4955 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1415, allocations: 0 / 0.4955 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.1415, allocations: 15.98 kB / 0.4955 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1415, allocations: 3.938 kB / 0.4955 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1415, allocations: 0 / 0.4955 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008976/0.1424, allocations: 301.2 kB / 0.4958 GB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.1425, allocations: 92.98 kB / 0.4959 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.1425, allocations: 8 kB / 0.4959 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.1427, allocations: 27.91 kB / 0.4959 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.1428, allocations: 15.97 kB / 0.4959 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.1428, allocations: 4 kB / 0.4959 GB, free: 3.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.143, allocations: 164.6 kB / 0.4961 GB, free: 2.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.143, allocations: 0 / 0.4961 GB, free: 2.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1433, allocations: 48 kB / 0.4961 GB, free: 2.93 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002582/0.1458, allocations: 1.149 MB / 0.4973 GB, free: 1.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006424/0.1465, allocations: 211.2 kB / 0.4975 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.1465, allocations: 4.25 kB / 0.4975 GB, free: 1.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002732/0.1468, allocations: 83.81 kB / 0.4976 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1471, allocations: 52.11 kB / 0.4976 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.1506, allocations: 2.166 MB / 0.4997 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.151, allocations: 0.7202 MB / 0.5004 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.548e-05/0.1511, allocations: 21.55 kB / 0.5004 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.681e-05/0.1512, allocations: 51.42 kB / 0.5005 GB, free: 14.35 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1512, allocations: 0 / 0.5005 GB, free: 14.35 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.1822, allocations: 4.93 MB / 0.5053 GB, free: 9.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.247, allocations: 0 / 0.5053 GB, free: 9.391 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches