Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44",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.001135/0.001135, allocations: 96.14 kB / 15.87 MB, free: 16 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.001151/0.001151, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.504/1.504, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.3742/0.3742, allocations: 43.51 MB / 313.5 MB, free: 8.531 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.001375/0.001375, allocations: 74.56 kB / 382.1 MB, free: 8.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1239, allocations: 57.79 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002901/0.1268, allocations: 1.749 MB / 441.7 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001207/0.128, allocations: 0.7924 MB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.914e-05/0.1281, allocations: 4 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002918/0.1284, allocations: 43.81 kB / 442.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.1286, allocations: 43.83 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.1288, allocations: 79.84 kB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.129, allocations: 91.7 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.639e-05/0.1291, allocations: 20.2 kB / 442.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.567e-05/0.1292, allocations: 39.78 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.408e-05/0.1292, allocations: 27.86 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.1293, allocations: 4 kB / 442.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.964e-05/0.1294, allocations: 43.92 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.1294, allocations: 19.91 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.1295, allocations: 35.73 kB / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.1296, allocations: 111.9 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1297, allocations: 0 / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1297, allocations: 0 / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1297, allocations: 4 kB / 443 MB, free: 11.61 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.0005229/0.1302, allocations: 414.9 kB / 443.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1303, allocations: 12.03 kB / 443.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.741e-05/0.1303, allocations: 38.73 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.585e-05/0.1303, allocations: 8.844 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1305, allocations: 216.6 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1306, allocations: 4.375 kB / 443.7 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.1306, allocations: 7.938 kB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.1307, allocations: 57.67 kB / 443.8 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1308, allocations: 0 / 443.8 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.1308, allocations: 0 / 443.8 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1308, allocations: 4 kB / 443.8 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.1309, allocations: 19.98 kB / 443.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.1312, allocations: 288.8 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.1314, allocations: 58.67 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.1314, allocations: 20.86 kB / 444.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.1315, allocations: 0 / 444.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.1316, allocations: 67.31 kB / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1317, allocations: 4 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005155/0.1322, allocations: 169.2 kB / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.1322, allocations: 59.34 kB / 444.4 MB, free: 9.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.1324, allocations: 195.3 kB / 444.6 MB, free: 9.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1324, allocations: 37.69 kB / 444.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.1325, allocations: 100 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.831e-05/0.1325, allocations: 27.72 kB / 444.8 MB, free: 9.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.1326, allocations: 29.66 kB / 444.8 MB, free: 9.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.1327, allocations: 318.8 kB / 445.1 MB, free: 9.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.1327, allocations: 27.92 kB / 445.2 MB, free: 9.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.31e-05/0.1328, allocations: 41.7 kB / 445.2 MB, free: 9.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1329, allocations: 57.64 kB / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1329, allocations: 0 / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001716/0.1331, allocations: 105.6 kB / 445.4 MB, free: 9.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.1331, allocations: 4 kB / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1331, allocations: 0 / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1331, allocations: 4.031 kB / 445.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.1332, allocations: 23.92 kB / 445.4 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1332, allocations: 0 / 445.4 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.565e-05/0.1333, allocations: 3.938 kB / 445.4 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1333, allocations: 4 kB / 445.4 MB, free: 8.98 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.91e-05/0.1334, allocations: 133.8 kB / 445.5 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1334, allocations: 11.81 kB / 445.5 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.1335, allocations: 13.78 kB / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1335, allocations: 4 kB / 445.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1335, allocations: 7.984 kB / 445.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1335, allocations: 3.938 kB / 445.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.1339, allocations: 395.3 kB / 446 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1339, allocations: 0 / 446 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.134, allocations: 8 kB / 446 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.134, allocations: 3.938 kB / 446 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.134, allocations: 0 / 446 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.134, allocations: 7.984 kB / 446 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.134, allocations: 7.969 kB / 446 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1342, allocations: 196.3 kB / 446.2 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.1343, allocations: 88.92 kB / 446.3 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1343, allocations: 3.938 kB / 446.3 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.1344, allocations: 8 kB / 446.3 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.1344, allocations: 7.969 kB / 446.3 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1345, allocations: 8 kB / 446.3 MB, free: 7.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1346, allocations: 156.9 kB / 446.4 MB, free: 7.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1346, allocations: 0 / 446.4 MB, free: 7.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1348, allocations: 24 kB / 446.5 MB, free: 7.805 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.001372/0.1362, allocations: 1.101 MB / 447.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.1364, allocations: 63.91 kB / 447.6 MB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1364, allocations: 0 / 447.6 MB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.648e-05/0.1365, allocations: 28.05 kB / 447.7 MB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.1368, allocations: 35.91 kB / 447.7 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.1384, allocations: 1.692 MB / 449.4 MB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.1387, allocations: 0.7082 MB / 450.1 MB, free: 4.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.845e-05/0.1387, allocations: 12.88 kB / 450.1 MB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.1388, allocations: 39.42 kB / 450.1 MB, free: 4.027 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1388, allocations: 0 / 450.1 MB, free: 4.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.1521, allocations: 3.168 MB / 453.3 MB, free: 0.832 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.1524, allocations: 238.4 kB / 453.6 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/1.802, allocations: 0 / 453.6 MB, free: 0.5742 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches