Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",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.001358/0.001359, allocations: 105 kB / 16.41 MB, free: 6.488 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.001296/0.001296, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.66/1.66, allocations: 205.1 MB / 223.2 MB, free: 12.1 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.258/0.258, allocations: 43.53 MB / 314.1 MB, free: 448 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.001415/0.001415, allocations: 78.23 kB / 441.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1401, allocations: 57.79 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.004222/0.1444, allocations: 1.705 MB / 0.4891 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.1459, allocations: 0.8038 MB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.146, allocations: 0 / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.1464, allocations: 43.77 kB / 0.49 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.1466, allocations: 59.75 kB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.1469, allocations: 99.62 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1471, allocations: 83.77 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1472, allocations: 16.22 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.583e-05/0.1473, allocations: 47.77 kB / 0.4902 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.697e-05/0.1474, allocations: 23.86 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1474, allocations: 8 kB / 0.4903 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1475, allocations: 39.98 kB / 0.4903 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.1476, allocations: 27.91 kB / 0.4903 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.1477, allocations: 35.75 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1479, allocations: 107.7 kB / 0.4905 GB, free: 9.117 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1479, allocations: 7.938 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1479, allocations: 0 / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.487e-06/0.1479, allocations: 4 kB / 0.4905 GB, free: 9.105 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007022/0.1486, allocations: 410.9 kB / 0.4909 GB, free: 8.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.1487, allocations: 15.89 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.582e-05/0.1487, allocations: 42.73 kB / 0.4909 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.1488, allocations: 8.844 kB / 0.4909 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.1492, allocations: 212.7 kB / 0.4912 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.1492, allocations: 4.359 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.1493, allocations: 11.94 kB / 0.4912 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.1495, allocations: 57.61 kB / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1495, allocations: 0 / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1495, allocations: 0 / 0.4912 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.1495, allocations: 4 kB / 0.4912 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/0.1496, allocations: 19.98 kB / 0.4912 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.1502, allocations: 284.8 kB / 0.4915 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.1504, allocations: 58.62 kB / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.419e-05/0.1505, allocations: 24.83 kB / 0.4916 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.1505, allocations: 8 kB / 0.4916 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.1507, allocations: 63.39 kB / 0.4917 GB, free: 7.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1507, allocations: 0 / 0.4917 GB, free: 7.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005838/0.1513, allocations: 173.2 kB / 0.4918 GB, free: 7.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.1514, allocations: 55.41 kB / 0.4919 GB, free: 7.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1516, allocations: 199.3 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1516, allocations: 29.64 kB / 0.4921 GB, free: 7.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.1517, allocations: 116 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.1517, allocations: 31.62 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.1518, allocations: 17.72 kB / 0.4923 GB, free: 7.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1519, allocations: 326.8 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.192e-05/0.152, allocations: 23.98 kB / 0.4926 GB, free: 6.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-05/0.1521, allocations: 37.64 kB / 0.4926 GB, free: 6.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1522, allocations: 57.72 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.1522, allocations: 0 / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.1524, allocations: 101.5 kB / 0.4928 GB, free: 6.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1524, allocations: 11.12 kB / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1524, allocations: 0 / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1525, allocations: 0 / 0.4928 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-05/0.1526, allocations: 15.98 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.1526, allocations: 4 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.1526, allocations: 7.969 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1527, allocations: 8 kB / 0.4928 GB, free: 6.473 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001174/0.1528, allocations: 129.7 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.1528, allocations: 15.81 kB / 0.493 GB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.1529, allocations: 13.41 kB / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1529, allocations: 0 / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1529, allocations: 0 / 0.493 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1529, allocations: 7.938 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.1534, allocations: 395.3 kB / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1534, allocations: 0 / 0.4934 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.1534, allocations: 8 kB / 0.4934 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.1534, allocations: 7.938 kB / 0.4934 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1534, allocations: 4 kB / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1534, allocations: 0 / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1534, allocations: 0 / 0.4934 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.1537, allocations: 208.5 kB / 0.4936 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.1538, allocations: 88.91 kB / 0.4937 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.1538, allocations: 11.94 kB / 0.4937 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.1539, allocations: 4.312 kB / 0.4937 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1539, allocations: 7.984 kB / 0.4937 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.1539, allocations: 4 kB / 0.4937 GB, free: 5.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1541, allocations: 152.9 kB / 0.4938 GB, free: 5.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1541, allocations: 0 / 0.4938 GB, free: 5.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.1544, allocations: 28 kB / 0.4939 GB, free: 5.297 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001435/0.1558, allocations: 1.092 MB / 0.4949 GB, free: 4.223 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.156, allocations: 55.98 kB / 0.495 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.156, allocations: 0 / 0.495 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/0.1561, allocations: 31.92 kB / 0.495 GB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1564, allocations: 23.92 kB / 0.495 GB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1583, allocations: 1.674 MB / 0.4967 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1586, allocations: 0.7041 MB / 0.4974 GB, free: 1.613 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.792e-05/0.1586, allocations: 21.19 kB / 0.4974 GB, free: 1.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.575e-05/0.1587, allocations: 35.42 kB / 0.4974 GB, free: 1.555 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1587, allocations: 0 / 0.4974 GB, free: 1.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.181, allocations: 3.462 MB / 0.5008 GB, free: 14.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/7.939, allocations: 320 / 0.5008 GB, free: 14.07 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time