Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2",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.0008451/0.0008454, allocations: 103.3 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 186.2 kB / 16.92 MB, free: 6.918 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.437/1.437, allocations: 205.4 MB / 223.1 MB, free: 5.762 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.3563/0.3563, allocations: 43.58 MB / 315 MB, free: 8.648 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.0004881/0.0004881, allocations: 20 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1247, allocations: 58.86 MB / 443.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002019/0.1267, allocations: 1.418 MB / 445 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.128, allocations: 0.773 MB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.333e-05/0.1281, allocations: 0 / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.1284, allocations: 35.89 kB / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1286, allocations: 39.84 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.1288, allocations: 83.84 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.129, allocations: 87.69 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.1291, allocations: 16.22 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.928e-05/0.1291, allocations: 35.73 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.286e-05/0.1292, allocations: 31.84 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1293, allocations: 4 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.1294, allocations: 39.98 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.1294, allocations: 15.92 kB / 446.1 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.773e-05/0.1295, allocations: 57.5 kB / 446.2 MB, free: 9.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.1297, allocations: 107.8 kB / 446.3 MB, free: 9.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1297, allocations: 0 / 446.3 MB, free: 9.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1297, allocations: 0 / 446.3 MB, free: 9.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1297, allocations: 0 / 446.3 MB, free: 9.816 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.0004546/0.1302, allocations: 391.2 kB / 446.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1302, allocations: 11.97 kB / 446.7 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.1303, allocations: 30.75 kB / 446.7 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.1303, allocations: 12.84 kB / 446.7 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.1305, allocations: 208.5 kB / 446.9 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.1306, allocations: 7.938 kB / 446.9 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1306, allocations: 4 kB / 446.9 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.1307, allocations: 57.61 kB / 447 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1308, allocations: 0 / 447 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1308, allocations: 0 / 447 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1308, allocations: 0 / 447 MB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.1309, allocations: 19.98 kB / 447 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.1312, allocations: 292.7 kB / 447.3 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1314, allocations: 62.59 kB / 447.4 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.398e-05/0.1315, allocations: 20.86 kB / 447.4 MB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1315, allocations: 3.984 kB / 447.4 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.1317, allocations: 67.39 kB / 447.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1317, allocations: 0 / 447.4 MB, free: 8.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005228/0.1323, allocations: 165.5 kB / 447.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.1323, allocations: 63.33 kB / 447.7 MB, free: 8.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1325, allocations: 150.4 kB / 447.8 MB, free: 8.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1325, allocations: 37.69 kB / 447.9 MB, free: 8.031 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/0.1326, allocations: 100.1 kB / 448 MB, free: 7.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.1326, allocations: 23.64 kB / 448 MB, free: 7.906 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.1327, allocations: 17.72 kB / 448 MB, free: 7.883 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1328, allocations: 322.8 kB / 448.3 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.614e-05/0.1329, allocations: 23.98 kB / 448.3 MB, free: 7.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/0.1329, allocations: 33.66 kB / 448.4 MB, free: 7.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.1331, allocations: 57.77 kB / 448.4 MB, free: 7.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1331, allocations: 4 kB / 448.4 MB, free: 7.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001751/0.1333, allocations: 109.4 kB / 448.5 MB, free: 7.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1333, allocations: 4 kB / 448.5 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1334, allocations: 3.938 kB / 448.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1334, allocations: 0 / 448.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.1335, allocations: 16 kB / 448.6 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1335, allocations: 0 / 448.6 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.1335, allocations: 7.984 kB / 448.6 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.1335, allocations: 4.188 kB / 448.6 MB, free: 7.281 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 9.72e-05/0.1337, allocations: 125.8 kB / 448.7 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.1337, allocations: 11.84 kB / 448.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.1337, allocations: 20.64 kB / 448.7 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1337, allocations: 7.938 kB / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1337, allocations: 0 / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1337, allocations: 0 / 448.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004029/0.1342, allocations: 391.3 kB / 449.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1342, allocations: 4.031 kB / 449.1 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.272e-05/0.1342, allocations: 8 kB / 449.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1342, allocations: 0 / 449.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.1342, allocations: 4 kB / 449.1 MB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1342, allocations: 3.984 kB / 449.1 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1342, allocations: 0 / 449.1 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1345, allocations: 208.2 kB / 449.3 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.1345, allocations: 92.92 kB / 449.4 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1345, allocations: 0 / 449.4 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1346, allocations: 11.98 kB / 449.4 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.1347, allocations: 4 kB / 449.4 MB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1347, allocations: 0 / 449.4 MB, free: 6.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1348, allocations: 127.9 kB / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1348, allocations: 0 / 449.6 MB, free: 6.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002433/0.135, allocations: 23.98 kB / 449.6 MB, free: 6.156 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.001573/0.1366, allocations: 1.097 MB / 450.7 MB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.1368, allocations: 55.97 kB / 450.7 MB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1368, allocations: 0 / 450.7 MB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.864e-05/0.1369, allocations: 39.86 kB / 450.8 MB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1372, allocations: 27.92 kB / 450.8 MB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.1391, allocations: 1.596 MB / 452.4 MB, free: 3.262 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.1396, allocations: 0.7083 MB / 453.1 MB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.044e-05/0.1396, allocations: 9.203 kB / 453.1 MB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.1397, allocations: 35.36 kB / 453.2 MB, free: 2.477 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1397, allocations: 0 / 453.2 MB, free: 2.477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2131/0.3528, allocations: 2.815 MB / 456 MB, free: 45.8 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.3531, allocations: 234.3 kB / 456.2 MB, free: 45.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.273, allocations: 0 / 456.2 MB, free: 45.55 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches