Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 216.8 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2343/0.2343, allocations: 44.27 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002681/0.002681, allocations: 75.89 kB / 467.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1471, allocations: 61.04 MB / 0.5162 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003993/0.1511, allocations: 1.684 MB / 0.5179 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002751/0.1539, allocations: 1.478 MB / 0.5193 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.663e-05/0.154, allocations: 0 / 0.5193 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003654/0.1543, allocations: 35.78 kB / 0.5193 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003367/0.1547, allocations: 67.73 kB / 0.5194 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.155, allocations: 83.72 kB / 0.5195 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.1552, allocations: 103.7 kB / 0.5196 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.1554, allocations: 12.22 kB / 0.5196 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.1555, allocations: 39.8 kB / 0.5196 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.1556, allocations: 35.83 kB / 0.5197 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.1556, allocations: 8 kB / 0.5197 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.1558, allocations: 63.95 kB / 0.5197 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.308e-05/0.1559, allocations: 15.88 kB / 0.5197 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.761e-05/0.1559, allocations: 27.86 kB / 0.5198 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003098/0.1562, allocations: 123.5 kB / 0.5199 GB, free: 3.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1563, allocations: 0 / 0.5199 GB, free: 3.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1563, allocations: 0 / 0.5199 GB, free: 3.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.1563, allocations: 0 / 0.5199 GB, free: 3.32 MB / 398.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.0006208/0.1569, allocations: 321.7 kB / 0.5202 GB, free: 2.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.1569, allocations: 8.031 kB / 0.5202 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.846e-05/0.157, allocations: 46.73 kB / 0.5202 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.157, allocations: 8.891 kB / 0.5203 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1574, allocations: 146.3 kB / 0.5204 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1574, allocations: 384 / 0.5204 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.1575, allocations: 11.94 kB / 0.5204 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1577, allocations: 93.09 kB / 0.5205 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1577, allocations: 0 / 0.5205 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1577, allocations: 0 / 0.5205 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1577, allocations: 0 / 0.5205 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.22e-05/0.1578, allocations: 23.92 kB / 0.5205 GB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.1583, allocations: 263.9 kB / 0.5208 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.1585, allocations: 58.66 kB / 0.5208 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.166e-05/0.1585, allocations: 20.84 kB / 0.5208 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.1585, allocations: 4 kB / 0.5208 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.1587, allocations: 67.33 kB / 0.5209 GB, free: 2.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1587, allocations: 4 kB / 0.5209 GB, free: 2.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000629/0.1593, allocations: 177.4 kB / 0.5211 GB, free: 1.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.1594, allocations: 85.09 kB / 0.5212 GB, free: 1.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.1596, allocations: 169.1 kB / 0.5213 GB, free: 1.664 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1596, allocations: 29.7 kB / 0.5214 GB, free: 1.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.785e-05/0.1597, allocations: 96.12 kB / 0.5214 GB, free: 1.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.1598, allocations: 23.8 kB / 0.5215 GB, free: 1.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.1598, allocations: 25.7 kB / 0.5215 GB, free: 1.477 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002631/0.1601, allocations: 322.8 kB / 0.5218 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.945e-05/0.1601, allocations: 20 kB / 0.5218 GB, free: 1.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1602, allocations: 68.27 kB / 0.5219 GB, free: 1.051 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.1604, allocations: 61.64 kB / 0.5219 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1604, allocations: 4.031 kB / 0.522 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000226/0.1606, allocations: 97.62 kB / 0.522 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1606, allocations: 4 kB / 0.522 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1606, allocations: 4 kB / 0.5221 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1606, allocations: 0 / 0.5221 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1608, allocations: 19.92 kB / 0.5221 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1608, allocations: 0 / 0.5221 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.152e-05/0.1608, allocations: 11.94 kB / 0.5221 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1608, allocations: 4 kB / 0.5221 GB, free: 0.8359 MB / 398.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.0001177/0.161, allocations: 121.9 kB / 0.5222 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.161, allocations: 11.95 kB / 0.5222 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002957/0.1613, allocations: 118.3 kB / 0.5223 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.1613, allocations: 4 kB / 0.5223 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1613, allocations: 0 / 0.5223 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.1613, allocations: 3.938 kB / 0.5223 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005448/0.1619, allocations: 366.4 kB / 0.5227 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.1619, allocations: 0 / 0.5227 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.407e-05/0.1619, allocations: 8 kB / 0.5227 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.1619, allocations: 7.906 kB / 0.5227 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1619, allocations: 8 kB / 0.5227 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1619, allocations: 3.938 kB / 0.5227 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1619, allocations: 288 / 0.5227 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003154/0.1622, allocations: 216.2 kB / 0.5229 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.1623, allocations: 15.95 kB / 0.5229 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.1623, allocations: 3.938 kB / 0.5229 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.454e-05/0.1624, allocations: 7.984 kB / 0.5229 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.1624, allocations: 8.375 kB / 0.523 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1624, allocations: 4 kB / 0.523 GB, free: 15.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1626, allocations: 115.2 kB / 0.5231 GB, free: 15.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1626, allocations: 4 kB / 0.5231 GB, free: 15.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.1629, allocations: 35.92 kB / 0.5231 GB, free: 15.7 MB / 414.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 (9): * Single equations (assignments): 7 * 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.002662/0.1656, allocations: 1.187 MB / 0.5243 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.1659, allocations: 63.91 kB / 0.5243 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1659, allocations: 0 / 0.5243 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.728e-05/0.1659, allocations: 27.92 kB / 0.5243 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1664, allocations: 27.98 kB / 0.5244 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002204/0.1686, allocations: 1.563 MB / 0.5259 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.1687, allocations: 83.89 kB / 0.526 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.865e-05/0.1688, allocations: 21.27 kB / 0.526 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.1689, allocations: 31.42 kB / 0.526 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1689, allocations: 0 / 0.526 GB, free: 12.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04398/0.2128, allocations: 4.275 MB / 0.5302 GB, free: 8.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.66, allocations: 3.906 kB / 0.5302 GB, free: 8.191 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.018659614026546]