Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",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.001334/0.001334, allocations: 103.6 kB / 15.98 MB, free: 6.336 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.001378/0.001378, allocations: 195.7 kB / 16.91 MB, free: 6.188 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.708/1.708, allocations: 205.1 MB / 222.8 MB, free: 4.719 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.3912/0.3912, allocations: 43.5 MB / 313.6 MB, free: 8.555 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.001688/0.001688, allocations: 67.91 kB / 382.3 MB, free: 8.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1469, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.004449/0.1514, allocations: 1.76 MB / 441.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.1532, allocations: 0.7807 MB / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1534, allocations: 4 kB / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004285/0.1538, allocations: 35.83 kB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.1542, allocations: 51.83 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.1546, allocations: 71.86 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.1548, allocations: 103.7 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.1549, allocations: 8.219 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1551, allocations: 43.8 kB / 443 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1552, allocations: 27.84 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.1552, allocations: 4 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.1554, allocations: 51.92 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.1555, allocations: 19.92 kB / 443.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.259e-05/0.1556, allocations: 39.72 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.1559, allocations: 111.9 kB / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1559, allocations: 0 / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1559, allocations: 0 / 443.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1559, allocations: 0 / 443.2 MB, free: 11.51 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.0006986/0.1566, allocations: 407 kB / 443.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.1567, allocations: 23.81 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.583e-05/0.1568, allocations: 38.75 kB / 443.7 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.1568, allocations: 8.844 kB / 443.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.1571, allocations: 212 kB / 443.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1571, allocations: 384 / 443.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.1572, allocations: 11.94 kB / 443.9 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.1574, allocations: 53.61 kB / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1574, allocations: 0 / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.1574, allocations: 4 kB / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1574, allocations: 0 / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.474e-05/0.1575, allocations: 23.97 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/0.158, allocations: 296.7 kB / 444.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1582, allocations: 54.67 kB / 444.3 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.1583, allocations: 16.86 kB / 444.3 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.1583, allocations: 7.984 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002531/0.1586, allocations: 71.33 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1586, allocations: 0 / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000632/0.1593, allocations: 169.3 kB / 444.6 MB, free: 9.961 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.1593, allocations: 55.34 kB / 444.6 MB, free: 9.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1595, allocations: 194.1 kB / 444.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1596, allocations: 25.7 kB / 444.9 MB, free: 9.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.1596, allocations: 100.1 kB / 445 MB, free: 9.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.1597, allocations: 23.72 kB / 445 MB, free: 9.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.696e-05/0.1597, allocations: 25.7 kB / 445 MB, free: 9.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1599, allocations: 326.8 kB / 445.3 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.447e-05/0.1599, allocations: 12 kB / 445.3 MB, free: 9.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.16, allocations: 37.7 kB / 445.4 MB, free: 9.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.1602, allocations: 65.64 kB / 445.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1602, allocations: 0 / 445.4 MB, free: 9.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001873/0.1604, allocations: 97.58 kB / 445.5 MB, free: 8.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1604, allocations: 4 kB / 445.5 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1604, allocations: 0 / 445.5 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1604, allocations: 3.984 kB / 445.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1606, allocations: 23.94 kB / 445.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1606, allocations: 0 / 445.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.1606, allocations: 7.938 kB / 445.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1607, allocations: 192 / 445.6 MB, free: 8.91 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.0001245/0.1608, allocations: 133.9 kB / 445.7 MB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.1608, allocations: 15.75 kB / 445.7 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.1609, allocations: 16.7 kB / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1609, allocations: 0 / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.1609, allocations: 0 / 445.7 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.1609, allocations: 11.88 kB / 445.7 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004645/0.1614, allocations: 391.3 kB / 446.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.1614, allocations: 0 / 446.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.1614, allocations: 8.375 kB / 446.1 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1614, allocations: 3.938 kB / 446.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.1615, allocations: 11.98 kB / 446.1 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1615, allocations: 3.938 kB / 446.1 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1615, allocations: 0 / 446.1 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.1617, allocations: 200.3 kB / 446.3 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.1618, allocations: 85.02 kB / 446.4 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.917e-05/0.1618, allocations: 3.938 kB / 446.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.1619, allocations: 4 kB / 446.4 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.162, allocations: 11.98 kB / 446.4 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.162, allocations: 4 kB / 446.5 MB, free: 7.922 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1621, allocations: 144 kB / 446.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-07/0.1621, allocations: 0 / 446.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1624, allocations: 27.91 kB / 446.6 MB, free: 7.754 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.001684/0.1641, allocations: 1.113 MB / 447.7 MB, free: 6.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.1643, allocations: 63.91 kB / 447.8 MB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1643, allocations: 0 / 447.8 MB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.624e-05/0.1644, allocations: 35.86 kB / 447.8 MB, free: 6.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1648, allocations: 31.83 kB / 447.9 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1667, allocations: 1.643 MB / 449.5 MB, free: 4.789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.167, allocations: 0.708 MB / 450.2 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.729e-05/0.1671, allocations: 21.17 kB / 450.2 MB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.1671, allocations: 31.42 kB / 450.3 MB, free: 4.004 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1671, allocations: 0 / 450.3 MB, free: 4.004 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.1822, allocations: 3.181 MB / 453.4 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.1825, allocations: 246.7 kB / 453.7 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/1.931, allocations: 0 / 453.7 MB, free: 0.5352 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches