Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",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.00135/0.00135, allocations: 109.6 kB / 17.33 MB, free: 6.004 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.001407/0.001408, allocations: 189.4 kB / 18.25 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2912/0.2912, allocations: 44.18 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 65.31 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.137, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003265/0.1403, allocations: 1.784 MB / 470.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.1419, allocations: 0.8692 MB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.142, allocations: 0 / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00051/0.1425, allocations: 103.7 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.1429, allocations: 79.78 kB / 471.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.1433, allocations: 95.81 kB / 471.8 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.1435, allocations: 119.7 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1437, allocations: 23.98 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1438, allocations: 63.7 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1439, allocations: 63.75 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.144, allocations: 8 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.1441, allocations: 63.95 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.1442, allocations: 27.92 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.1443, allocations: 43.67 kB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1445, allocations: 147.8 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.1446, allocations: 3.984 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1446, allocations: 0 / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.1446, allocations: 4 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006585/0.1452, allocations: 450.7 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.1453, allocations: 8.031 kB / 472.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.1454, allocations: 42.73 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.1454, allocations: 12.75 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1457, allocations: 223.8 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1457, allocations: 4.375 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.1458, allocations: 7.938 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.146, allocations: 77.53 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.146, allocations: 0 / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.146, allocations: 4 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.146, allocations: 0 / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.1461, allocations: 31.97 kB / 473.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.1466, allocations: 320.6 kB / 473.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.1469, allocations: 74.55 kB / 473.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.147, allocations: 28.84 kB / 473.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/0.147, allocations: 0 / 473.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.1472, allocations: 67.48 kB / 473.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.482e-06/0.1473, allocations: 7.938 kB / 473.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008041/0.1481, allocations: 273 kB / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.1481, allocations: 59.34 kB / 474 MB, free: 9.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.1484, allocations: 247.2 kB / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.1484, allocations: 29.7 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.1485, allocations: 116.1 kB / 474.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.1485, allocations: 39.45 kB / 474.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.976e-05/0.1486, allocations: 29.7 kB / 474.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1487, allocations: 326.8 kB / 474.7 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.1488, allocations: 31.98 kB / 474.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.768e-05/0.1489, allocations: 53.7 kB / 474.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.149, allocations: 89.64 kB / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.149, allocations: 0 / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002406/0.1493, allocations: 137.4 kB / 475 MB, free: 8.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.1493, allocations: 4 kB / 475 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1493, allocations: 0 / 475 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1493, allocations: 8.031 kB / 475.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.1495, allocations: 31.86 kB / 475.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1495, allocations: 4 kB / 475.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.1495, allocations: 0 / 475.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1495, allocations: 4 kB / 475.1 MB, free: 8.078 MB / 350.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 (14): * Single equations (assignments): 14 * 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.000147/0.1497, allocations: 145.8 kB / 475.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.1497, allocations: 15.81 kB / 475.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.031e-05/0.1498, allocations: 22.09 kB / 475.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1498, allocations: 7.938 kB / 475.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.1498, allocations: 0 / 475.3 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1498, allocations: 7.984 kB / 475.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005987/0.1504, allocations: 476 kB / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1504, allocations: 0 / 475.8 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.507e-05/0.1505, allocations: 27.92 kB / 475.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1505, allocations: 0 / 475.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.1505, allocations: 8.062 kB / 475.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1505, allocations: 3.938 kB / 475.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1506, allocations: 0 / 475.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.1508, allocations: 248.9 kB / 476 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.1509, allocations: 88.92 kB / 476.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/0.151, allocations: 4 kB / 476.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.151, allocations: 11.98 kB / 476.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.1511, allocations: 4 kB / 476.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1511, allocations: 11.98 kB / 476.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.1513, allocations: 184.2 kB / 476.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1513, allocations: 0 / 476.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1515, allocations: 36 kB / 476.4 MB, free: 6.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001631/0.1532, allocations: 1.194 MB / 477.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1534, allocations: 95.84 kB / 477.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1534, allocations: 0 / 477.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.318e-05/0.1535, allocations: 51.98 kB / 477.7 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1539, allocations: 27.48 kB / 477.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.156, allocations: 1.953 MB / 479.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.1564, allocations: 0.7232 MB / 480.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.536e-05/0.1565, allocations: 21.06 kB / 480.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.1566, allocations: 59.34 kB / 480.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1566, allocations: 3.938 kB / 480.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.1722, allocations: 3.926 MB / 484.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.1724, allocations: 236.6 kB / 484.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.084, allocations: 3.375 kB / 484.7 MB, free: 14.55 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.timeScaled)),der(t_new.timeScaled),t_new.columns[1],t_new.columns[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],t_new.y[2],time