Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.001466/0.001466, 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.002583/0.002583, allocations: 214 kB / 22.99 MB, free: 4.605 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.612/1.612, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2421/0.2421, allocations: 44.27 MB / 330.3 MB, free: 9.312 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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",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.002644/0.002644, allocations: 67.91 kB / 467.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1387, allocations: 61.04 MB / 0.5162 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.004118/0.1428, allocations: 1.703 MB / 0.5179 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00172/0.1446, allocations: 0.7845 MB / 0.5186 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1447, allocations: 3.938 kB / 0.5186 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004433/0.1451, allocations: 103.7 kB / 0.5187 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.1455, allocations: 87.64 kB / 0.5188 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.1458, allocations: 95.7 kB / 0.5189 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.1461, allocations: 123.7 kB / 0.519 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.1462, allocations: 19.97 kB / 0.5191 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.1464, allocations: 55.77 kB / 0.5191 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.1466, allocations: 75.72 kB / 0.5192 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.1466, allocations: 4 kB / 0.5192 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1467, allocations: 43.98 kB / 0.5192 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.747e-05/0.1468, allocations: 31.86 kB / 0.5193 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.644e-05/0.1469, allocations: 39.72 kB / 0.5193 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.1472, allocations: 135.4 kB / 0.5194 GB, free: 3.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1472, allocations: 0 / 0.5194 GB, free: 3.793 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1472, allocations: 11.94 kB / 0.5194 GB, free: 3.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1472, allocations: 0 / 0.5194 GB, free: 3.781 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007303/0.1479, allocations: 361.4 kB / 0.5198 GB, free: 3.398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.148, allocations: 12.03 kB / 0.5198 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.148, allocations: 34.75 kB / 0.5198 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.1481, allocations: 16.84 kB / 0.5198 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.1485, allocations: 177.9 kB / 0.52 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1485, allocations: 384 / 0.52 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.1485, allocations: 7.938 kB / 0.52 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.1487, allocations: 73.59 kB / 0.5201 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1487, allocations: 7.938 kB / 0.5201 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1487, allocations: 0 / 0.5201 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.1487, allocations: 0 / 0.5201 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.1489, allocations: 39.97 kB / 0.5201 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.1494, allocations: 287.8 kB / 0.5204 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1496, allocations: 66.73 kB / 0.5205 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.641e-05/0.1497, allocations: 28.84 kB / 0.5205 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1497, allocations: 3.938 kB / 0.5205 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.1499, allocations: 87.39 kB / 0.5206 GB, free: 2.465 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.1499, allocations: 0 / 0.5206 GB, free: 2.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007229/0.1506, allocations: 245.2 kB / 0.5208 GB, free: 2.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.1507, allocations: 55.34 kB / 0.5209 GB, free: 2.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.151, allocations: 254.5 kB / 0.5211 GB, free: 1.887 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.151, allocations: 29.7 kB / 0.5211 GB, free: 1.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/0.1511, allocations: 112.1 kB / 0.5212 GB, free: 1.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.1511, allocations: 39.67 kB / 0.5213 GB, free: 1.699 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.1512, allocations: 37.7 kB / 0.5213 GB, free: 1.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1514, allocations: 322.8 kB / 0.5216 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.573e-05/0.1515, allocations: 35.98 kB / 0.5217 GB, free: 1.297 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.214e-05/0.1515, allocations: 49.69 kB / 0.5217 GB, free: 1.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.1517, allocations: 93.58 kB / 0.5218 GB, free: 1.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1517, allocations: 0 / 0.5218 GB, free: 1.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002618/0.152, allocations: 133.6 kB / 0.5219 GB, free: 1.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.152, allocations: 4 kB / 0.5219 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.152, allocations: 0 / 0.5219 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.152, allocations: 4 kB / 0.5219 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.1521, allocations: 27.95 kB / 0.522 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1521, allocations: 3.938 kB / 0.522 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.186e-05/0.1522, allocations: 8 kB / 0.522 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.1522, allocations: 4 kB / 0.522 GB, free: 0.957 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 (13): * Single equations (assignments): 13 * 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.0001364/0.1523, allocations: 133.8 kB / 0.5221 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.1524, allocations: 15.89 kB / 0.5221 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.1527, allocations: 163 kB / 0.5223 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1527, allocations: 3.938 kB / 0.5223 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.1527, allocations: 3.938 kB / 0.5223 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1527, allocations: 0 / 0.5223 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006324/0.1534, allocations: 434.3 kB / 0.5227 GB, free: 152 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1534, allocations: 7.922 kB / 0.5227 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.1534, allocations: 20 kB / 0.5227 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1534, allocations: 0 / 0.5227 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/0.1534, allocations: 7.984 kB / 0.5227 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1534, allocations: 4 kB / 0.5227 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1534, allocations: 0 / 0.5227 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.1538, allocations: 248.3 kB / 0.523 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.1539, allocations: 19.84 kB / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.1539, allocations: 4.031 kB / 0.523 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.154, allocations: 11.94 kB / 0.523 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.154, allocations: 7.984 kB / 0.523 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.1541, allocations: 7.984 kB / 0.523 GB, free: 15.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000215/0.1543, allocations: 203.9 kB / 0.5232 GB, free: 15.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1543, allocations: 0 / 0.5232 GB, free: 15.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003/0.1546, allocations: 31.94 kB / 0.5232 GB, free: 15.56 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 (13): * Single equations (assignments): 11 * 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.002704/0.1573, allocations: 1.169 MB / 0.5244 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.1575, allocations: 87.84 kB / 0.5245 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1575, allocations: 0 / 0.5245 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1576, allocations: 47.91 kB / 0.5245 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.158, allocations: 35.38 kB / 0.5246 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/0.1605, allocations: 1.901 MB / 0.5264 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.1607, allocations: 113 kB / 0.5265 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.172e-05/0.1608, allocations: 20.59 kB / 0.5265 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-05/0.1609, allocations: 51.41 kB / 0.5266 GB, free: 12.06 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1609, allocations: 0 / 0.5266 GB, free: 12.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03468/0.1956, allocations: 4.674 MB / 0.5311 GB, free: 7.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.62, allocations: 3.938 kB / 0.5312 GB, free: 7.266 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable t_new.y[2] in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable t_new.y[2] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! Error: Could not read variable d_t_new2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv. Warning: Get data of variable d_t_new2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.201269352808595]