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.001802/0.001802, allocations: 110 kB / 19.69 MB, free: 2.203 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.002214/0.002214, allocations: 221 kB / 23.01 MB, free: 5.047 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.494/1.494, allocations: 207.6 MB / 233.8 MB, free: 9.973 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.2453/0.2453, allocations: 44.23 MB / 330.3 MB, free: 9.512 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.00247/0.00247, allocations: 75.89 kB / 467.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1364, allocations: 61.04 MB / 0.5162 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003738/0.1402, allocations: 1.719 MB / 0.5179 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.1427, allocations: 1.517 MB / 0.5194 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.299e-05/0.1428, allocations: 3.938 kB / 0.5194 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.1431, allocations: 39.83 kB / 0.5194 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.1434, allocations: 63.69 kB / 0.5195 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.1437, allocations: 79.77 kB / 0.5195 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1439, allocations: 107.6 kB / 0.5197 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.144, allocations: 8.219 kB / 0.5197 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1441, allocations: 39.8 kB / 0.5197 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.1443, allocations: 43.83 kB / 0.5197 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.1443, allocations: 4 kB / 0.5197 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001644/0.1444, allocations: 63.97 kB / 0.5198 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.1445, allocations: 15.92 kB / 0.5198 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.1446, allocations: 43.73 kB / 0.5199 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.1448, allocations: 115.6 kB / 0.52 GB, free: 3.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1449, allocations: 0 / 0.52 GB, free: 3.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1449, allocations: 0 / 0.52 GB, free: 3.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1449, allocations: 0 / 0.52 GB, free: 3.375 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.0006585/0.1455, allocations: 325.7 kB / 0.5203 GB, free: 3.027 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.1456, allocations: 11.97 kB / 0.5203 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.954e-05/0.1456, allocations: 42.75 kB / 0.5203 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.1457, allocations: 8.891 kB / 0.5203 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.146, allocations: 150.3 kB / 0.5205 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.146, allocations: 8.312 kB / 0.5205 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.1461, allocations: 3.938 kB / 0.5205 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.1463, allocations: 67.39 kB / 0.5206 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1463, allocations: 0 / 0.5206 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1463, allocations: 0 / 0.5206 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1463, allocations: 4 kB / 0.5206 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.387e-05/0.1464, allocations: 19.98 kB / 0.5206 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.1468, allocations: 255.9 kB / 0.5208 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.147, allocations: 58.61 kB / 0.5209 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.004e-05/0.1471, allocations: 16.86 kB / 0.5209 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1471, allocations: 4 kB / 0.5209 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.1473, allocations: 67.39 kB / 0.521 GB, free: 2.211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.1473, allocations: 0 / 0.521 GB, free: 2.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006059/0.1479, allocations: 169.4 kB / 0.5211 GB, free: 2.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.148, allocations: 81.05 kB / 0.5212 GB, free: 1.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1482, allocations: 165.1 kB / 0.5214 GB, free: 1.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1482, allocations: 29.7 kB / 0.5214 GB, free: 1.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.1482, allocations: 92.14 kB / 0.5215 GB, free: 1.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.1483, allocations: 35.7 kB / 0.5215 GB, free: 1.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.1484, allocations: 21.72 kB / 0.5215 GB, free: 1.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002106/0.1486, allocations: 326.8 kB / 0.5218 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.501e-05/0.1486, allocations: 15.98 kB / 0.5219 GB, free: 1.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.875e-05/0.1487, allocations: 42.56 kB / 0.5219 GB, free: 1.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.1488, allocations: 61.73 kB / 0.522 GB, free: 1.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1488, allocations: 384 / 0.522 GB, free: 1.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002087/0.149, allocations: 97.58 kB / 0.5221 GB, free: 1.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1491, allocations: 4 kB / 0.5221 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1491, allocations: 0 / 0.5221 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1491, allocations: 0 / 0.5221 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1492, allocations: 27.92 kB / 0.5221 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1492, allocations: 3.938 kB / 0.5221 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.764e-05/0.1493, allocations: 15.97 kB / 0.5221 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1493, allocations: 0 / 0.5221 GB, free: 0.9688 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.0001227/0.1494, allocations: 121.8 kB / 0.5222 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.1494, allocations: 7.953 kB / 0.5222 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002531/0.1497, allocations: 118.5 kB / 0.5223 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1497, allocations: 0 / 0.5223 GB, free: 0.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1497, allocations: 3.938 kB / 0.5223 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.1497, allocations: 7.922 kB / 0.5224 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.1502, allocations: 358.5 kB / 0.5227 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1502, allocations: 4 kB / 0.5227 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.1502, allocations: 7.938 kB / 0.5227 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1502, allocations: 7.938 kB / 0.5227 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1502, allocations: 3.984 kB / 0.5227 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1502, allocations: 0 / 0.5227 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1502, allocations: 4 kB / 0.5227 GB, free: 272 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.1505, allocations: 200.4 kB / 0.5229 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.1505, allocations: 7.953 kB / 0.5229 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.1506, allocations: 7.938 kB / 0.5229 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.1506, allocations: 0 / 0.5229 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.1507, allocations: 16.11 kB / 0.5229 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.1507, allocations: 4 kB / 0.5229 GB, free: 16 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001324/0.1508, allocations: 123.2 kB / 0.5231 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1508, allocations: 4 kB / 0.5231 GB, free: 15.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.1511, allocations: 31.92 kB / 0.5231 GB, free: 15.86 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 (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.002393/0.1535, allocations: 1.124 MB / 0.5242 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.1537, allocations: 67.83 kB / 0.5243 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1537, allocations: 4.062 kB / 0.5243 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.91e-05/0.1538, allocations: 27.92 kB / 0.5243 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.1541, allocations: 31.92 kB / 0.5243 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.1561, allocations: 1.547 MB / 0.5258 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.1564, allocations: 0.704 MB / 0.5265 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.785e-05/0.1565, allocations: 16.97 kB / 0.5265 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.1566, allocations: 31.42 kB / 0.5266 GB, free: 12.22 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1566, allocations: 0 / 0.5266 GB, free: 12.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03711/0.1937, allocations: 3.729 MB / 0.5302 GB, free: 8.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.1, allocations: 11.89 kB / 0.5302 GB, free: 8.348 MB / 414.1 MB " [Timeout remaining time 649] (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: 14.413676622090861]