Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.0014/0.0014, 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.001774/0.001774, allocations: 218.2 kB / 22.99 MB, free: 4.973 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.539/1.539, allocations: 207.7 MB / 233.8 MB, free: 9.785 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.2433/0.2433, allocations: 44.26 MB / 330.3 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.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56",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.002443/0.002443, allocations: 71.89 kB / 467.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1312, allocations: 61.04 MB / 0.5162 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.004104/0.1353, allocations: 1.688 MB / 0.5179 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.1381, allocations: 1.47 MB / 0.5193 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.988e-05/0.1382, allocations: 0 / 0.5193 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.1386, allocations: 43.77 kB / 0.5193 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003176/0.1389, allocations: 63.73 kB / 0.5194 GB, free: 3.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.1392, allocations: 83.72 kB / 0.5195 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.1394, allocations: 103.7 kB / 0.5196 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1395, allocations: 12.22 kB / 0.5196 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.891e-05/0.1396, allocations: 39.8 kB / 0.5196 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.1398, allocations: 35.83 kB / 0.5197 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.1398, allocations: 8 kB / 0.5197 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.14, allocations: 59.97 kB / 0.5197 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.14, allocations: 27.8 kB / 0.5197 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.309e-05/0.1401, allocations: 23.86 kB / 0.5198 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.1404, allocations: 119.6 kB / 0.5199 GB, free: 3.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1404, allocations: 0 / 0.5199 GB, free: 3.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.429e-06/0.1404, allocations: 3.984 kB / 0.5199 GB, free: 3.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.1404, allocations: 0 / 0.5199 GB, free: 3.316 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.000638/0.141, allocations: 321.7 kB / 0.5202 GB, free: 2.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1411, allocations: 8.031 kB / 0.5202 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.359e-05/0.1411, allocations: 42.75 kB / 0.5202 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.1412, allocations: 12.88 kB / 0.5203 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.1415, allocations: 146.3 kB / 0.5204 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1415, allocations: 4.375 kB / 0.5204 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.1415, allocations: 7.938 kB / 0.5204 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1417, allocations: 93.09 kB / 0.5205 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1417, allocations: 0 / 0.5205 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1418, allocations: 0 / 0.5205 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1418, allocations: 0 / 0.5205 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.701e-05/0.1418, allocations: 27.86 kB / 0.5205 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.1423, allocations: 259.9 kB / 0.5208 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.1425, allocations: 58.67 kB / 0.5208 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/0.1426, allocations: 20.84 kB / 0.5208 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1426, allocations: 3.984 kB / 0.5208 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.1428, allocations: 71.33 kB / 0.5209 GB, free: 2.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1428, allocations: 0 / 0.5209 GB, free: 2.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006708/0.1434, allocations: 173.4 kB / 0.5211 GB, free: 1.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.1435, allocations: 81.11 kB / 0.5212 GB, free: 1.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.1437, allocations: 164.3 kB / 0.5213 GB, free: 1.672 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1437, allocations: 29.7 kB / 0.5213 GB, free: 1.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.1438, allocations: 96.12 kB / 0.5214 GB, free: 1.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.1438, allocations: 27.78 kB / 0.5215 GB, free: 1.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-05/0.1439, allocations: 25.7 kB / 0.5215 GB, free: 1.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.144, allocations: 322.8 kB / 0.5218 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.1441, allocations: 20 kB / 0.5218 GB, free: 1.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.437e-05/0.1442, allocations: 68.27 kB / 0.5219 GB, free: 1.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1444, allocations: 69.7 kB / 0.5219 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1444, allocations: 4.406 kB / 0.5219 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002171/0.1446, allocations: 93.81 kB / 0.522 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1446, allocations: 8 kB / 0.522 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1446, allocations: 3.938 kB / 0.5221 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1446, allocations: 4 kB / 0.5221 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1447, allocations: 23.92 kB / 0.5221 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.1447, allocations: 4 kB / 0.5221 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.1448, allocations: 3.938 kB / 0.5221 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.1448, allocations: 4 kB / 0.5221 GB, free: 0.8281 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.0001558/0.145, allocations: 121.9 kB / 0.5222 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.145, allocations: 11.94 kB / 0.5222 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.1453, allocations: 126.3 kB / 0.5223 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1453, allocations: 0 / 0.5223 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.1453, allocations: 0 / 0.5223 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.1453, allocations: 3.938 kB / 0.5223 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.1459, allocations: 362.4 kB / 0.5227 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.1459, allocations: 0 / 0.5227 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.1459, allocations: 8 kB / 0.5227 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.146, allocations: 15.91 kB / 0.5227 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.146, allocations: 0 / 0.5227 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.146, allocations: 3.938 kB / 0.5227 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.146, allocations: 0 / 0.5227 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.1463, allocations: 212.3 kB / 0.5229 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.1464, allocations: 15.95 kB / 0.5229 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.1464, allocations: 3.938 kB / 0.5229 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.1465, allocations: 4 kB / 0.5229 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.1465, allocations: 11.98 kB / 0.5229 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.1466, allocations: 4 kB / 0.523 GB, free: 15.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1467, allocations: 115.2 kB / 0.5231 GB, free: 15.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1467, allocations: 8 kB / 0.5231 GB, free: 15.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003496/0.1471, allocations: 31.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.002954/0.15, allocations: 1.183 MB / 0.5243 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.1503, allocations: 71.83 kB / 0.5243 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1503, allocations: 0 / 0.5243 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.062e-05/0.1504, allocations: 27.92 kB / 0.5244 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.0004331/0.1508, allocations: 27.98 kB / 0.5244 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.153, allocations: 1.571 MB / 0.5259 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.1532, allocations: 75.89 kB / 0.526 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.1533, allocations: 21.27 kB / 0.526 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.1534, allocations: 31.42 kB / 0.526 GB, free: 12.61 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1534, allocations: 0 / 0.526 GB, free: 12.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03665/0.19, allocations: 4.276 MB / 0.5302 GB, free: 8.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.46, allocations: 3.906 kB / 0.5302 GB, free: 8.184 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test56.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.823939273133874]