Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.00157/0.00157, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.001483/0.001483, allocations: 210.9 kB / 23.78 MB, free: 4.527 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.791/1.791, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2489/0.2489, allocations: 44.26 MB / 331.1 MB, free: 9.305 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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",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.002463/0.002463, allocations: 71.91 kB / 468.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1415, allocations: 61.04 MB / 0.517 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.004458/0.146, allocations: 1.811 MB / 0.5187 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.1479, allocations: 0.8674 MB / 0.5196 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.148, allocations: 7.938 kB / 0.5196 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005476/0.1486, allocations: 159.5 kB / 0.5197 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004955/0.1491, allocations: 135.5 kB / 0.5199 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.1496, allocations: 151.6 kB / 0.52 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003863/0.1499, allocations: 215.4 kB / 0.5202 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.1501, allocations: 17.73 kB / 0.5202 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.1503, allocations: 111.5 kB / 0.5203 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.1506, allocations: 131.6 kB / 0.5205 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.083e-05/0.1506, allocations: 8 kB / 0.5205 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.1507, allocations: 47.92 kB / 0.5205 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.1508, allocations: 47.77 kB / 0.5206 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.557e-05/0.1509, allocations: 59.61 kB / 0.5206 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.1513, allocations: 203 kB / 0.5208 GB, free: 3.152 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1513, allocations: 0 / 0.5208 GB, free: 3.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1513, allocations: 0 / 0.5208 GB, free: 3.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1513, allocations: 4 kB / 0.5208 GB, free: 3.148 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009143/0.1522, allocations: 460.7 kB / 0.5213 GB, free: 2.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.1523, allocations: 8.031 kB / 0.5213 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.556e-05/0.1523, allocations: 192 / 0.5213 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.707e-05/0.1523, allocations: 38.75 kB / 0.5213 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.056e-05/0.1524, allocations: 28.75 kB / 0.5213 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.1529, allocations: 197.6 kB / 0.5215 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1529, allocations: 8.125 kB / 0.5215 GB, free: 2.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.92e-05/0.1529, allocations: 15.92 kB / 0.5216 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002844/0.1532, allocations: 103.3 kB / 0.5216 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.1532, allocations: 0 / 0.5216 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1533, allocations: 0 / 0.5216 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.1533, allocations: 4 kB / 0.5217 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.1534, allocations: 39.97 kB / 0.5217 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/0.1541, allocations: 411.9 kB / 0.5221 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003393/0.1544, allocations: 113.3 kB / 0.5222 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.1546, allocations: 45.69 kB / 0.5222 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.1546, allocations: 0 / 0.5222 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002829/0.1549, allocations: 117 kB / 0.5223 GB, free: 1.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/0.1549, allocations: 0 / 0.5223 GB, free: 1.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001029/0.1559, allocations: 380.6 kB / 0.5227 GB, free: 1.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.156, allocations: 85.09 kB / 0.5228 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.1564, allocations: 360.2 kB / 0.5231 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.1565, allocations: 33.7 kB / 0.5232 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.1566, allocations: 144.4 kB / 0.5233 GB, free: 412 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.1566, allocations: 47.59 kB / 0.5233 GB, free: 364 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/0.1567, allocations: 37.7 kB / 0.5234 GB, free: 320 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1569, allocations: 338.8 kB / 0.5237 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.157, allocations: 39.97 kB / 0.5237 GB, free: 15.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1571, allocations: 71.41 kB / 0.5238 GB, free: 15.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00024/0.1574, allocations: 131.5 kB / 0.5239 GB, free: 15.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1574, allocations: 0 / 0.5239 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003673/0.1578, allocations: 189.4 kB / 0.5241 GB, free: 15.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.1578, allocations: 8 kB / 0.5241 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1578, allocations: 0 / 0.5241 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.1578, allocations: 7.938 kB / 0.5241 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.158, allocations: 31.92 kB / 0.5242 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.158, allocations: 4 kB / 0.5242 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.586e-05/0.1581, allocations: 8 kB / 0.5242 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.1581, allocations: 7.938 kB / 0.5242 GB, free: 15.45 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.000181/0.1583, allocations: 173.7 kB / 0.5244 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.1583, allocations: 23.86 kB / 0.5244 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004803/0.1588, allocations: 207.3 kB / 0.5246 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1588, allocations: 3.938 kB / 0.5246 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1588, allocations: 4 kB / 0.5246 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1588, allocations: 7.922 kB / 0.5246 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/0.1596, allocations: 0.5845 MB / 0.5252 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.1596, allocations: 4.062 kB / 0.5252 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.649e-05/0.1597, allocations: 31.92 kB / 0.5252 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1597, allocations: 0 / 0.5252 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.1597, allocations: 4.75 kB / 0.5252 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1597, allocations: 4 kB / 0.5252 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1598, allocations: 3.984 kB / 0.5252 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000464/0.1602, allocations: 388.1 kB / 0.5256 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.1603, allocations: 19.86 kB / 0.5256 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.1603, allocations: 12 kB / 0.5256 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.1604, allocations: 7.984 kB / 0.5256 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.1605, allocations: 15.98 kB / 0.5256 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.1605, allocations: 11.98 kB / 0.5256 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000294/0.1608, allocations: 271 kB / 0.5259 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1608, allocations: 0 / 0.5259 GB, free: 13.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003616/0.1612, allocations: 39.94 kB / 0.5259 GB, free: 13.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002656/0.1638, allocations: 1.304 MB / 0.5272 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.1642, allocations: 127.8 kB / 0.5273 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1642, allocations: 0 / 0.5273 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.1644, allocations: 55.92 kB / 0.5274 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.1649, allocations: 53.19 kB / 0.5274 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.1683, allocations: 2.492 MB / 0.5299 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.1685, allocations: 140.8 kB / 0.53 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.1686, allocations: 37.61 kB / 0.53 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.1687, allocations: 75.41 kB / 0.5301 GB, free: 9.176 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1687, allocations: 0 / 0.5301 GB, free: 9.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.1962, allocations: 5.942 MB / 0.5359 GB, free: 3.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.75, allocations: 11.86 kB / 0.5359 GB, free: 3.102 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.712286446010694]