Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",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.003047/0.003047, allocations: 104.9 kB / 16.45 MB, free: 6.445 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.004315/0.004315, allocations: 192.1 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.91/2.91, allocations: 207.6 MB / 225.8 MB, free: 11.54 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.2257/0.2257, allocations: 44.25 MB / 319.9 MB, free: 12.86 MB / 270.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.002136/0.002136, allocations: 71.89 kB / 453.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1251, allocations: 61.01 MB / 0.5025 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00322/0.1283, allocations: 1.649 MB / 0.5041 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1297, allocations: 0.7922 MB / 0.5049 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.1298, allocations: 0 / 0.5049 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.1301, allocations: 95.67 kB / 0.505 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1304, allocations: 75.67 kB / 0.5051 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.1306, allocations: 83.77 kB / 0.5052 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.1308, allocations: 99.73 kB / 0.5053 GB, free: 9.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.1308, allocations: 7.984 kB / 0.5053 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1309, allocations: 51.77 kB / 0.5053 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1311, allocations: 51.83 kB / 0.5054 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.1311, allocations: 4 kB / 0.5054 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-05/0.1312, allocations: 39.97 kB / 0.5054 GB, free: 9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.1312, allocations: 19.92 kB / 0.5054 GB, free: 8.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.57e-05/0.1313, allocations: 35.69 kB / 0.5055 GB, free: 8.945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1315, allocations: 107.5 kB / 0.5056 GB, free: 8.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1315, allocations: 0 / 0.5056 GB, free: 8.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1315, allocations: 4 kB / 0.5056 GB, free: 8.836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1315, allocations: 0 / 0.5056 GB, free: 8.836 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005829/0.1321, allocations: 414.7 kB / 0.506 GB, free: 8.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1321, allocations: 11.89 kB / 0.506 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.1321, allocations: 38.75 kB / 0.506 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.1322, allocations: 12.89 kB / 0.506 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.1325, allocations: 212.1 kB / 0.5062 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1325, allocations: 4.312 kB / 0.5062 GB, free: 8.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.1325, allocations: 7.938 kB / 0.5062 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1326, allocations: 53.66 kB / 0.5063 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1326, allocations: 0 / 0.5063 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.1327, allocations: 0 / 0.5063 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1327, allocations: 0 / 0.5063 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.268e-05/0.1327, allocations: 12 kB / 0.5063 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.133, allocations: 189.7 kB / 0.5065 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1331, allocations: 54.5 kB / 0.5065 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.1332, allocations: 16.84 kB / 0.5065 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1332, allocations: 4 kB / 0.5065 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.1334, allocations: 67.39 kB / 0.5066 GB, free: 7.586 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1334, allocations: 0 / 0.5066 GB, free: 7.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002858/0.1337, allocations: 97.52 kB / 0.5067 GB, free: 7.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.1337, allocations: 55.41 kB / 0.5068 GB, free: 7.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.1339, allocations: 219.5 kB / 0.507 GB, free: 7.195 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1339, allocations: 25.7 kB / 0.507 GB, free: 7.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.134, allocations: 104.1 kB / 0.5071 GB, free: 7.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.1341, allocations: 15.89 kB / 0.5071 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.616e-05/0.1341, allocations: 21.72 kB / 0.5071 GB, free: 7.016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1342, allocations: 326.8 kB / 0.5074 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.1343, allocations: 15.98 kB / 0.5075 GB, free: 6.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-05/0.1343, allocations: 25.72 kB / 0.5075 GB, free: 6.641 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.796e-05/0.1344, allocations: 41.7 kB / 0.5075 GB, free: 6.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/0.1344, allocations: 11.88 kB / 0.5075 GB, free: 6.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001572/0.1346, allocations: 81.58 kB / 0.5076 GB, free: 6.496 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1346, allocations: 4 kB / 0.5076 GB, free: 6.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1346, allocations: 3.984 kB / 0.5076 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1346, allocations: 320 / 0.5076 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.1347, allocations: 12 kB / 0.5076 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1347, allocations: 8.078 kB / 0.5076 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.1348, allocations: 7.953 kB / 0.5076 GB, free: 6.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1348, allocations: 8 kB / 0.5076 GB, free: 6.453 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0001116/0.1349, allocations: 137.7 kB / 0.5078 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.1349, allocations: 7.953 kB / 0.5078 GB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.1349, allocations: 16.98 kB / 0.5078 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1349, allocations: 0 / 0.5078 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1349, allocations: 4 kB / 0.5078 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.135, allocations: 0 / 0.5078 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.1351, allocations: 185.6 kB / 0.508 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1351, allocations: 0 / 0.508 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.1351, allocations: 7.984 kB / 0.508 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1351, allocations: 0 / 0.508 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1352, allocations: 4 kB / 0.508 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1352, allocations: 0 / 0.508 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1352, allocations: 0 / 0.508 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.1353, allocations: 120.9 kB / 0.5081 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.1354, allocations: 81.06 kB / 0.5082 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1354, allocations: 4 kB / 0.5082 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.472e-05/0.1355, allocations: 0 / 0.5082 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.1355, allocations: 7.984 kB / 0.5082 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.1355, allocations: 8 kB / 0.5082 GB, free: 5.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.1356, allocations: 155.2 kB / 0.5084 GB, free: 5.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1356, allocations: 0 / 0.5084 GB, free: 5.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.1359, allocations: 19.94 kB / 0.5084 GB, free: 5.609 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001923/0.1378, allocations: 0.9684 MB / 0.5093 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000169/0.138, allocations: 39.97 kB / 0.5094 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.138, allocations: 0 / 0.5094 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.038e-05/0.138, allocations: 15.94 kB / 0.5094 GB, free: 4.605 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.1383, allocations: 31.97 kB / 0.5094 GB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.1401, allocations: 1.53 MB / 0.5109 GB, free: 2.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.1404, allocations: 0.7079 MB / 0.5116 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.67e-05/0.1405, allocations: 16.8 kB / 0.5116 GB, free: 2.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.969e-05/0.1406, allocations: 35.42 kB / 0.5116 GB, free: 2.168 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1406, allocations: 3.938 kB / 0.5116 GB, free: 2.164 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.1666, allocations: 3.191 MB / 0.5148 GB, free: 14.96 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.613/9.779, allocations: 7.938 kB / 0.5148 GB, free: 14.95 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result: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.table[5,1],t_new.table[5,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time