Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16",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.001194/0.001194, allocations: 102.6 kB / 15.98 MB, free: 6.348 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.001342/0.001342, allocations: 199.6 kB / 16.91 MB, free: 6.191 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.775/1.775, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3738/0.3738, allocations: 43.5 MB / 313.6 MB, free: 8.266 MB / 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.001486/0.001487, allocations: 71.91 kB / 382.3 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1244, allocations: 57.78 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003165/0.1276, allocations: 1.76 MB / 441.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1288, allocations: 0.7885 MB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.01e-05/0.1289, allocations: 3.938 kB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.1292, allocations: 23.91 kB / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.1294, allocations: 51.77 kB / 442.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.1297, allocations: 83.84 kB / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1298, allocations: 99.69 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.032e-05/0.1299, allocations: 8.219 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.698e-05/0.13, allocations: 43.78 kB / 443 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.827e-05/0.1301, allocations: 39.78 kB / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1301, allocations: 4 kB / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.751e-05/0.1302, allocations: 36 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.1303, allocations: 23.91 kB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.1303, allocations: 39.73 kB / 443.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1305, allocations: 104 kB / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1305, allocations: 3.984 kB / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1305, allocations: 0 / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1305, allocations: 0 / 443.2 MB, free: 11.27 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.0004977/0.131, allocations: 406.9 kB / 443.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1311, allocations: 15.89 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.1311, allocations: 38.73 kB / 443.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.1312, allocations: 12.75 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.1314, allocations: 208 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1314, allocations: 4.375 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.1314, allocations: 3.938 kB / 443.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1316, allocations: 57.67 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1316, allocations: 3.984 kB / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.1316, allocations: 0 / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1316, allocations: 0 / 443.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.369e-05/0.1317, allocations: 23.92 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.1321, allocations: 288.9 kB / 444.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.1322, allocations: 50.69 kB / 444.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.1323, allocations: 24.84 kB / 444.3 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1323, allocations: 0 / 444.3 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.1325, allocations: 71.33 kB / 444.4 MB, free: 9.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1326, allocations: 0 / 444.4 MB, free: 9.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005583/0.1331, allocations: 169.2 kB / 444.6 MB, free: 9.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1332, allocations: 55.41 kB / 444.6 MB, free: 9.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1333, allocations: 170.2 kB / 444.8 MB, free: 9.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1334, allocations: 29.7 kB / 444.8 MB, free: 9.457 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.1334, allocations: 100.1 kB / 444.9 MB, free: 9.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.1335, allocations: 27.59 kB / 444.9 MB, free: 9.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1335, allocations: 25.7 kB / 445 MB, free: 9.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1337, allocations: 326.8 kB / 445.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.1337, allocations: 16 kB / 445.3 MB, free: 8.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.1338, allocations: 37.64 kB / 445.3 MB, free: 8.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1339, allocations: 65.64 kB / 445.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-06/0.1339, allocations: 4.375 kB / 445.4 MB, free: 8.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000178/0.1341, allocations: 105.6 kB / 445.5 MB, free: 8.727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1341, allocations: 4 kB / 445.5 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1341, allocations: 4 kB / 445.5 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1342, allocations: 0 / 445.5 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1343, allocations: 20 kB / 445.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1343, allocations: 0 / 445.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.837e-05/0.1343, allocations: 11.92 kB / 445.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1344, allocations: 4 kB / 445.5 MB, free: 8.684 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.0001165/0.1345, allocations: 121.9 kB / 445.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.1345, allocations: 15.81 kB / 445.7 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.1346, allocations: 20.69 kB / 445.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1346, allocations: 0 / 445.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1346, allocations: 0 / 445.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1346, allocations: 3.938 kB / 445.7 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.135, allocations: 387.3 kB / 446.1 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.135, allocations: 4.031 kB / 446.1 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.1351, allocations: 11.94 kB / 446.1 MB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.1351, allocations: 3.938 kB / 446.1 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.1351, allocations: 7.984 kB / 446.1 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1351, allocations: 4 kB / 446.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1351, allocations: 0 / 446.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1354, allocations: 192.3 kB / 446.3 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.1354, allocations: 89.02 kB / 446.4 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1355, allocations: 7.938 kB / 446.4 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.1355, allocations: 0 / 446.4 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1356, allocations: 7.984 kB / 446.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.1356, allocations: 4 kB / 446.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.1357, allocations: 136 kB / 446.5 MB, free: 7.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.1357, allocations: 0 / 446.5 MB, free: 7.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.136, allocations: 27.92 kB / 446.6 MB, free: 7.559 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.001493/0.1375, allocations: 1.105 MB / 447.7 MB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.1377, allocations: 67.89 kB / 447.7 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1377, allocations: 0 / 447.7 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.1378, allocations: 32.08 kB / 447.8 MB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1381, allocations: 36.73 kB / 447.8 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.1399, allocations: 1.624 MB / 449.4 MB, free: 4.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.1402, allocations: 0.708 MB / 450.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.873e-05/0.1403, allocations: 12.88 kB / 450.2 MB, free: 3.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.205e-05/0.1404, allocations: 31.42 kB / 450.2 MB, free: 3.836 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1404, allocations: 0 / 450.2 MB, free: 3.836 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.1539, allocations: 3.127 MB / 453.3 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.1542, allocations: 242.7 kB / 453.5 MB, free: 436 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/1.954, allocations: 0 / 453.5 MB, free: 436 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches