Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",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.001777/0.001777, allocations: 106 kB / 16.45 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.001968/0.001968, allocations: 193.4 kB / 17.39 MB, free: 5.684 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.096/2.096, allocations: 207.6 MB / 225.8 MB, free: 11.51 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.3985/0.3985, allocations: 44.25 MB / 319.9 MB, free: 12.85 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.002145/0.002145, allocations: 77.45 kB / 453.6 MB, free: 9.109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1366, allocations: 61 MB / 0.5025 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003145/0.1397, allocations: 1.707 MB / 0.5042 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.1412, allocations: 0.8194 MB / 0.505 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.965e-05/0.1413, allocations: 0 / 0.505 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.1416, allocations: 51.75 kB / 0.505 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.1418, allocations: 59.75 kB / 0.5051 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.1421, allocations: 87.72 kB / 0.5052 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1423, allocations: 103.7 kB / 0.5053 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1424, allocations: 16.16 kB / 0.5053 GB, free: 9.117 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.326e-05/0.1425, allocations: 39.84 kB / 0.5053 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.678e-05/0.1426, allocations: 35.78 kB / 0.5054 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.1426, allocations: 0 / 0.5054 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1427, allocations: 39.98 kB / 0.5054 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.327e-05/0.1428, allocations: 23.92 kB / 0.5054 GB, free: 8.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.392e-05/0.1429, allocations: 51.59 kB / 0.5055 GB, free: 8.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.1431, allocations: 131.4 kB / 0.5056 GB, free: 8.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1431, allocations: 0 / 0.5056 GB, free: 8.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1431, allocations: 0 / 0.5056 GB, free: 8.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1431, allocations: 0 / 0.5056 GB, free: 8.801 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006657/0.1438, allocations: 442.5 kB / 0.506 GB, free: 8.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1439, allocations: 15.89 kB / 0.506 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.1439, allocations: 30.75 kB / 0.5061 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.1439, allocations: 16.78 kB / 0.5061 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.1443, allocations: 231.8 kB / 0.5063 GB, free: 7.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1443, allocations: 8.312 kB / 0.5063 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.1443, allocations: 7.938 kB / 0.5063 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1444, allocations: 53.67 kB / 0.5064 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1445, allocations: 0 / 0.5064 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.1445, allocations: 0 / 0.5064 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-06/0.1445, allocations: 0 / 0.5064 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.872e-05/0.1446, allocations: 19.98 kB / 0.5064 GB, free: 7.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.145, allocations: 296.9 kB / 0.5067 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.1451, allocations: 54.62 kB / 0.5067 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.24e-05/0.1452, allocations: 20.84 kB / 0.5067 GB, free: 7.465 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.1452, allocations: 3.984 kB / 0.5067 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.1454, allocations: 71.39 kB / 0.5068 GB, free: 7.379 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1454, allocations: 4 kB / 0.5068 GB, free: 7.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005342/0.1459, allocations: 185.2 kB / 0.507 GB, free: 7.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/0.146, allocations: 55.41 kB / 0.507 GB, free: 7.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.1463, allocations: 262.5 kB / 0.5073 GB, free: 6.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1463, allocations: 25.7 kB / 0.5073 GB, free: 6.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/0.1464, allocations: 112.1 kB / 0.5074 GB, free: 6.703 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.1465, allocations: 27.83 kB / 0.5075 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.1465, allocations: 21.72 kB / 0.5075 GB, free: 6.648 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1466, allocations: 330.8 kB / 0.5078 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.54e-05/0.1467, allocations: 23.92 kB / 0.5078 GB, free: 6.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.1468, allocations: 41.64 kB / 0.5079 GB, free: 6.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1469, allocations: 53.7 kB / 0.5079 GB, free: 6.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.1469, allocations: 0 / 0.5079 GB, free: 6.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.1471, allocations: 113.5 kB / 0.508 GB, free: 6.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1471, allocations: 4 kB / 0.508 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.1471, allocations: 4 kB / 0.508 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1471, allocations: 0 / 0.508 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.691e-05/0.1472, allocations: 15.98 kB / 0.508 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1472, allocations: 0 / 0.508 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.1473, allocations: 7.938 kB / 0.508 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.1473, allocations: 15.88 kB / 0.5081 GB, free: 6.023 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 (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.0001331/0.1474, allocations: 137.8 kB / 0.5082 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.1475, allocations: 19.91 kB / 0.5082 GB, free: 5.859 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.1475, allocations: 21.39 kB / 0.5082 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1475, allocations: 0 / 0.5082 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1475, allocations: 0 / 0.5082 GB, free: 5.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.1475, allocations: 7.938 kB / 0.5082 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004931/0.148, allocations: 399.3 kB / 0.5086 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.148, allocations: 0 / 0.5086 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.185e-05/0.148, allocations: 8 kB / 0.5086 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1481, allocations: 3.938 kB / 0.5086 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1481, allocations: 8.031 kB / 0.5086 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.1481, allocations: 7.984 kB / 0.5086 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1481, allocations: 0 / 0.5086 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.1483, allocations: 200.2 kB / 0.5088 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.1484, allocations: 93.02 kB / 0.5089 GB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.1484, allocations: 4.312 kB / 0.5089 GB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.1485, allocations: 8 kB / 0.5089 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.1485, allocations: 11.98 kB / 0.5089 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.1486, allocations: 4 kB / 0.509 GB, free: 5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.1487, allocations: 192.5 kB / 0.5091 GB, free: 4.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1487, allocations: 4 kB / 0.5091 GB, free: 4.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.149, allocations: 27.92 kB / 0.5092 GB, free: 4.781 MB / 398.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.002239/0.1512, allocations: 1.108 MB / 0.5102 GB, free: 3.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.1515, allocations: 63.91 kB / 0.5103 GB, free: 3.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1515, allocations: 0 / 0.5103 GB, free: 3.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.1515, allocations: 23.98 kB / 0.5103 GB, free: 3.617 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1519, allocations: 27.98 kB / 0.5104 GB, free: 3.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.1541, allocations: 1.808 MB / 0.5121 GB, free: 1.684 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.1545, allocations: 0.7196 MB / 0.5128 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.914e-05/0.1546, allocations: 13.19 kB / 0.5128 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.1547, allocations: 47.41 kB / 0.5129 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1547, allocations: 0 / 0.5129 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.1809, allocations: 3.706 MB / 0.5165 GB, free: 13.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.771/8.952, allocations: 15.91 kB / 0.5165 GB, free: 13.14 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time