Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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.001404/0.001404, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001544/0.001544, allocations: 215.7 kB / 22.99 MB, free: 4.602 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.528/1.528, 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.2378/0.2378, allocations: 44.26 MB / 330.3 MB, free: 9.426 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.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test25,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25",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.002326/0.002326, allocations: 71.91 kB / 467.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1318, allocations: 61.05 MB / 0.5162 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003459/0.1352, allocations: 1.68 MB / 0.5179 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1367, allocations: 0.7806 MB / 0.5186 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.1368, allocations: 3.938 kB / 0.5186 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.1372, allocations: 47.75 kB / 0.5187 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.1374, allocations: 55.77 kB / 0.5187 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.1377, allocations: 95.75 kB / 0.5188 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.1378, allocations: 91.7 kB / 0.5189 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.138, allocations: 12.2 kB / 0.5189 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.638e-05/0.138, allocations: 43.78 kB / 0.5189 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.1382, allocations: 27.8 kB / 0.519 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1382, allocations: 4 kB / 0.519 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.1383, allocations: 51.97 kB / 0.519 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.499e-05/0.1384, allocations: 19.92 kB / 0.519 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.629e-05/0.1384, allocations: 27.8 kB / 0.5191 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.1386, allocations: 119.5 kB / 0.5192 GB, free: 4.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1386, allocations: 0 / 0.5192 GB, free: 4.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1386, allocations: 0 / 0.5192 GB, free: 4.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1386, allocations: 0 / 0.5192 GB, free: 4.078 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.0006346/0.1393, allocations: 341.6 kB / 0.5195 GB, free: 3.715 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1393, allocations: 8.031 kB / 0.5195 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.1394, allocations: 34.75 kB / 0.5196 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.1394, allocations: 12.89 kB / 0.5196 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.1397, allocations: 155 kB / 0.5197 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1397, allocations: 8.375 kB / 0.5197 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1397, allocations: 3.938 kB / 0.5197 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1399, allocations: 65.55 kB / 0.5198 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1399, allocations: 0 / 0.5198 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1399, allocations: 3.984 kB / 0.5198 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1399, allocations: 0 / 0.5198 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.066e-05/0.14, allocations: 19.98 kB / 0.5198 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004253/0.1404, allocations: 252 kB / 0.5201 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.1406, allocations: 66.61 kB / 0.5201 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.897e-05/0.1407, allocations: 20.8 kB / 0.5201 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.1407, allocations: 0 / 0.5201 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.1409, allocations: 75.38 kB / 0.5202 GB, free: 2.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1409, allocations: 0 / 0.5202 GB, free: 2.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005817/0.1415, allocations: 185.3 kB / 0.5204 GB, free: 2.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.1415, allocations: 51.41 kB / 0.5204 GB, free: 2.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.1417, allocations: 199.2 kB / 0.5206 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.1418, allocations: 33.7 kB / 0.5207 GB, free: 2.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.1418, allocations: 112 kB / 0.5208 GB, free: 2.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1419, allocations: 19.86 kB / 0.5208 GB, free: 2.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/0.1419, allocations: 29.7 kB / 0.5208 GB, free: 2.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1421, allocations: 322.8 kB / 0.5211 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.1422, allocations: 23.98 kB / 0.5211 GB, free: 1.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.23e-05/0.1422, allocations: 37.64 kB / 0.5212 GB, free: 1.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1424, allocations: 53.72 kB / 0.5212 GB, free: 1.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1424, allocations: 0 / 0.5212 GB, free: 1.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002138/0.1426, allocations: 113.5 kB / 0.5213 GB, free: 1.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1426, allocations: 5.875 kB / 0.5213 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1426, allocations: 0 / 0.5213 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1426, allocations: 4 kB / 0.5213 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.1427, allocations: 15.98 kB / 0.5214 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1427, allocations: 0 / 0.5214 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.1428, allocations: 11.94 kB / 0.5214 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1428, allocations: 0 / 0.5214 GB, free: 1.637 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.0001138/0.1429, allocations: 129.8 kB / 0.5215 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.1429, allocations: 7.953 kB / 0.5215 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.1432, allocations: 135.2 kB / 0.5216 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1432, allocations: 0 / 0.5216 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1432, allocations: 0 / 0.5216 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1432, allocations: 3.938 kB / 0.5216 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000522/0.1437, allocations: 370.4 kB / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1437, allocations: 0 / 0.522 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.1438, allocations: 11.98 kB / 0.522 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.1438, allocations: 7.938 kB / 0.522 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1438, allocations: 0 / 0.522 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1438, allocations: 4.031 kB / 0.522 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1438, allocations: 3.938 kB / 0.522 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.1441, allocations: 212.3 kB / 0.5222 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.1441, allocations: 19.83 kB / 0.5222 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.1441, allocations: 12.3 kB / 0.5222 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.1442, allocations: 4 kB / 0.5223 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.1442, allocations: 11.98 kB / 0.5223 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.1442, allocations: 4 kB / 0.5223 GB, free: 0.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.1444, allocations: 152.9 kB / 0.5224 GB, free: 488 kB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1444, allocations: 0 / 0.5224 GB, free: 488 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.1447, allocations: 24 kB / 0.5224 GB, free: 464 kB / 398.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.002481/0.1471, allocations: 1.143 MB / 0.5236 GB, free: 15.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1474, allocations: 59.97 kB / 0.5236 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1474, allocations: 0 / 0.5236 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.763e-05/0.1475, allocations: 35.92 kB / 0.5236 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.1478, allocations: 23.98 kB / 0.5237 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.1499, allocations: 1.677 MB / 0.5253 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.769e-05/0.15, allocations: 88.31 kB / 0.5254 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.102e-05/0.1501, allocations: 20.78 kB / 0.5254 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.1502, allocations: 35.42 kB / 0.5254 GB, free: 13.28 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1502, allocations: 0 / 0.5254 GB, free: 13.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.1829, allocations: 4.112 MB / 0.5295 GB, free: 9.051 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.39, allocations: 8.047 kB / 0.5295 GB, free: 9.043 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test25.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test25.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: 14.746039210818708]