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.001082/0.001082, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001086/0.001086, allocations: 194 kB / 18.12 MB, free: 5.363 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.542/1.542, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2561/0.2561, allocations: 44.18 MB / 336.1 MB, free: 3.031 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.55 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.131, allocations: 60.83 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003696/0.1347, allocations: 1.787 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1363, allocations: 0.8576 MB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1364, allocations: 4 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003834/0.1368, allocations: 115.7 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.1371, allocations: 75.78 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.1375, allocations: 95.77 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.1377, allocations: 119.7 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1378, allocations: 19.98 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.138, allocations: 51.77 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1381, allocations: 59.77 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1381, allocations: 4 kB / 471.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.1383, allocations: 63.95 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.1384, allocations: 23.92 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.1385, allocations: 47.59 kB / 471.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1387, allocations: 147.8 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1387, allocations: 7.984 kB / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1387, allocations: 0 / 472.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1388, allocations: 4 kB / 472.1 MB, free: 11.27 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.0006115/0.1394, allocations: 434.8 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1394, allocations: 12.03 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.1395, allocations: 38.73 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.1396, allocations: 16.75 kB / 472.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1398, allocations: 223.8 kB / 472.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.1398, allocations: 4.375 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.1399, allocations: 11.94 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1401, allocations: 65.66 kB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1401, allocations: 0 / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1401, allocations: 0 / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.1401, allocations: 4 kB / 472.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1402, allocations: 39.84 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.1407, allocations: 312.7 kB / 473.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002772/0.141, allocations: 78.55 kB / 473.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.089e-05/0.1411, allocations: 24.84 kB / 473.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1411, allocations: 4.031 kB / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.1414, allocations: 79.53 kB / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.1414, allocations: 0 / 473.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008702/0.1422, allocations: 273.1 kB / 473.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/0.1423, allocations: 59.34 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.1426, allocations: 247.2 kB / 474 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1426, allocations: 33.64 kB / 474 MB, free: 9.141 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.1427, allocations: 108.1 kB / 474.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.1427, allocations: 43.45 kB / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/0.1428, allocations: 29.7 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.1429, allocations: 326.8 kB / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.143, allocations: 35.98 kB / 474.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.052e-05/0.1431, allocations: 53.64 kB / 474.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.1432, allocations: 89.64 kB / 474.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1432, allocations: 0 / 474.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002328/0.1435, allocations: 137.4 kB / 474.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1435, allocations: 8.031 kB / 474.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1435, allocations: 4 kB / 474.8 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1435, allocations: 3.984 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.1436, allocations: 27.92 kB / 474.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1436, allocations: 0 / 474.9 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.1437, allocations: 4 kB / 474.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1437, allocations: 4 kB / 474.9 MB, free: 8.246 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.0001201/0.1438, allocations: 145.7 kB / 475 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.1439, allocations: 19.81 kB / 475 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.1439, allocations: 21.41 kB / 475.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1439, allocations: 11.88 kB / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.144, allocations: 0 / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.144, allocations: 3.984 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000567/0.1445, allocations: 468 kB / 475.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1445, allocations: 4.062 kB / 475.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.047e-05/0.1446, allocations: 19.98 kB / 475.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.1446, allocations: 0 / 475.6 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.1446, allocations: 8 kB / 475.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1446, allocations: 0 / 475.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1446, allocations: 0 / 475.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003444/0.145, allocations: 252.9 kB / 475.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.087e-05/0.1451, allocations: 88.92 kB / 475.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.1451, allocations: 0 / 475.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.1452, allocations: 15.98 kB / 475.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.1452, allocations: 4.094 kB / 475.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.1452, allocations: 15.86 kB / 475.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1454, allocations: 188.2 kB / 476.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1454, allocations: 4 kB / 476.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.1457, allocations: 28 kB / 476.1 MB, free: 6.863 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.001728/0.1474, allocations: 1.194 MB / 477.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002523/0.1477, allocations: 95.84 kB / 477.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1477, allocations: 0 / 477.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.1478, allocations: 47.92 kB / 477.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1482, allocations: 31.62 kB / 477.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.1509, allocations: 1.953 MB / 479.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.1513, allocations: 0.7243 MB / 480.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.1514, allocations: 17.08 kB / 480.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.212e-05/0.1515, allocations: 51.41 kB / 480.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1515, allocations: 0 / 480.3 MB, free: 2.812 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.1675, allocations: 3.843 MB / 484.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.1677, allocations: 244 kB / 484.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.001, allocations: 0 / 484.3 MB, free: 14.8 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