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.001133/0.001133, allocations: 100.5 kB / 16.4 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.001163/0.001163, allocations: 192.1 kB / 17.34 MB, free: 5.77 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.495/1.495, 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.222/0.222, allocations: 43.52 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.002688/0.002688, allocations: 63.91 kB / 441.4 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1296, allocations: 57.81 MB / 499.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004773/0.1345, allocations: 2.002 MB / 0.4894 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1363, allocations: 0.8973 MB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.1365, allocations: 0 / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.1369, allocations: 51.64 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003778/0.1373, allocations: 63.62 kB / 0.4904 GB, free: 9.219 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.1378, allocations: 131.6 kB / 0.4905 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.1383, allocations: 195.4 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.1385, allocations: 29.66 kB / 0.4907 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.1387, allocations: 87.58 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.1389, allocations: 75.67 kB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.878e-05/0.139, allocations: 12 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.1392, allocations: 55.92 kB / 0.491 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.1393, allocations: 39.83 kB / 0.491 GB, free: 8.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.1394, allocations: 71.53 kB / 0.4911 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.1399, allocations: 195.3 kB / 0.4913 GB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.1399, allocations: 3.984 kB / 0.4913 GB, free: 8.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.624e-06/0.1399, allocations: 0 / 0.4913 GB, free: 8.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1399, allocations: 0 / 0.4913 GB, free: 8.336 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.00107/0.141, allocations: 0.5603 MB / 0.4918 GB, free: 7.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.141, allocations: 15.89 kB / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.429e-05/0.1411, allocations: 34.75 kB / 0.4919 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/0.1412, allocations: 20.75 kB / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.1416, allocations: 248.7 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.1416, allocations: 4.375 kB / 0.4921 GB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.1417, allocations: 15.94 kB / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004408/0.1421, allocations: 154.8 kB / 0.4923 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1421, allocations: 0 / 0.4923 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1422, allocations: 7.984 kB / 0.4923 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1422, allocations: 0 / 0.4923 GB, free: 7.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.1426, allocations: 115.8 kB / 0.4924 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.1433, allocations: 0.5399 MB / 0.4929 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.144, allocations: 162.5 kB / 0.4931 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.1442, allocations: 72.8 kB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.1442, allocations: 4 kB / 0.4932 GB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003825/0.1446, allocations: 131.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.1446, allocations: 0 / 0.4933 GB, free: 6.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009266/0.1456, allocations: 273 kB / 0.4935 GB, free: 5.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.1457, allocations: 55.41 kB / 0.4936 GB, free: 5.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.1459, allocations: 215.2 kB / 0.4938 GB, free: 5.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.146, allocations: 33.7 kB / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1461, allocations: 132.4 kB / 0.494 GB, free: 5.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.1461, allocations: 31.55 kB / 0.494 GB, free: 5.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.1462, allocations: 33.72 kB / 0.494 GB, free: 5.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1464, allocations: 338.8 kB / 0.4943 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.1467, allocations: 63.94 kB / 0.4944 GB, free: 4.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.1469, allocations: 111.6 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/0.1474, allocations: 193.8 kB / 0.4947 GB, free: 4.527 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.1474, allocations: 8 kB / 0.4947 GB, free: 4.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006402/0.1481, allocations: 239 kB / 0.4949 GB, free: 4.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.26e-05/0.1481, allocations: 33.7 kB / 0.495 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1482, allocations: 7.969 kB / 0.495 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.1482, allocations: 16 kB / 0.495 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.1484, allocations: 35.91 kB / 0.495 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1484, allocations: 3.938 kB / 0.495 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.1486, allocations: 31.88 kB / 0.4951 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1486, allocations: 4 kB / 0.4951 GB, free: 4.137 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.0001608/0.1488, allocations: 137.7 kB / 0.4952 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.1488, allocations: 15.81 kB / 0.4952 GB, free: 3.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.1489, allocations: 29.39 kB / 0.4952 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1489, allocations: 3.938 kB / 0.4952 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1489, allocations: 0 / 0.4952 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1489, allocations: 0 / 0.4952 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.1492, allocations: 237.5 kB / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1492, allocations: 0 / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.1494, allocations: 23.97 kB / 0.4955 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.1494, allocations: 0 / 0.4955 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.1494, allocations: 8 kB / 0.4955 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1494, allocations: 3.938 kB / 0.4955 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1494, allocations: 4 kB / 0.4955 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008426/0.1503, allocations: 305 kB / 0.4958 GB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.203e-05/0.1503, allocations: 93.02 kB / 0.4959 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.1504, allocations: 11.98 kB / 0.4959 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.1506, allocations: 19.91 kB / 0.4959 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/0.1506, allocations: 15.98 kB / 0.4959 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.1507, allocations: 4 kB / 0.4959 GB, free: 3.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.1508, allocations: 168.6 kB / 0.4961 GB, free: 2.973 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1508, allocations: 0 / 0.4961 GB, free: 2.973 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002792/0.1511, allocations: 39.94 kB / 0.4961 GB, free: 2.934 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.002068/0.1532, allocations: 1.152 MB / 0.4973 GB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000612/0.1538, allocations: 215.2 kB / 0.4975 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1539, allocations: 0 / 0.4975 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.1541, allocations: 88.06 kB / 0.4975 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.0003307/0.1544, allocations: 44.12 kB / 0.4976 GB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/0.1577, allocations: 2.155 MB / 0.4997 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.1581, allocations: 0.7202 MB / 0.5004 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.1582, allocations: 21.55 kB / 0.5004 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.1583, allocations: 63.34 kB / 0.5005 GB, free: 14.36 MB / 398.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1583, allocations: 0 / 0.5005 GB, free: 14.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.1827, allocations: 5.032 MB / 0.5054 GB, free: 9.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/7.673, allocations: 0 / 0.5054 GB, free: 9.297 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