Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.001855/0.001855, allocations: 104.3 kB / 19.7 MB, free: 2.062 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.002494/0.002494, allocations: 212.9 kB / 22.98 MB, free: 4.887 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.59/1.59, 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.2492/0.2492, allocations: 44.27 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.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71",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.00258/0.00258, allocations: 74.69 kB / 467.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1314, allocations: 61.05 MB / 0.5162 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00378/0.1352, allocations: 1.75 MB / 0.5179 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.1368, allocations: 0.8469 MB / 0.5187 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.1369, allocations: 4 kB / 0.5187 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005728/0.1375, allocations: 311.3 kB / 0.519 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.1379, allocations: 219.3 kB / 0.5193 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000363/0.1383, allocations: 139.7 kB / 0.5194 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.1386, allocations: 243.4 kB / 0.5196 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.1386, allocations: 13.95 kB / 0.5196 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.1388, allocations: 131.5 kB / 0.5198 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.139, allocations: 211.5 kB / 0.52 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.1391, allocations: 8 kB / 0.52 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1392, allocations: 47.98 kB / 0.52 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.1393, allocations: 143.5 kB / 0.5202 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.1395, allocations: 107.1 kB / 0.5203 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.1399, allocations: 370.2 kB / 0.5206 GB, free: 2.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1399, allocations: 0 / 0.5206 GB, free: 2.578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1399, allocations: 3.938 kB / 0.5206 GB, free: 2.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1399, allocations: 0 / 0.5206 GB, free: 2.574 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001003/0.1409, allocations: 0.6747 MB / 0.5213 GB, free: 1.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1409, allocations: 8.031 kB / 0.5213 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.141, allocations: 34.75 kB / 0.5213 GB, free: 1.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.1411, allocations: 56.59 kB / 0.5214 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006396/0.1417, allocations: 386.6 kB / 0.5217 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1417, allocations: 384 / 0.5217 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1417, allocations: 15.92 kB / 0.5217 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.142, allocations: 99.23 kB / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.142, allocations: 0 / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.142, allocations: 0 / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.142, allocations: 0 / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.1421, allocations: 35.97 kB / 0.5219 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003909/0.1425, allocations: 325.5 kB / 0.5222 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.1427, allocations: 113.1 kB / 0.5223 GB, free: 0.707 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1429, allocations: 37.7 kB / 0.5223 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.1429, allocations: 0 / 0.5223 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.1431, allocations: 117 kB / 0.5224 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.1431, allocations: 0 / 0.5224 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005034/0.1436, allocations: 209.2 kB / 0.5226 GB, free: 328 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.1437, allocations: 77.11 kB / 0.5227 GB, free: 232 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.1449, allocations: 1.046 MB / 0.5237 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1449, allocations: 29.7 kB / 0.5238 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.1452, allocations: 232.1 kB / 0.524 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.395e-05/0.1452, allocations: 19.86 kB / 0.524 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-05/0.1453, allocations: 29.7 kB / 0.524 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.1455, allocations: 370.8 kB / 0.5244 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.152e-05/0.1456, allocations: 27.98 kB / 0.5244 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1457, allocations: 59.41 kB / 0.5245 GB, free: 14.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.1459, allocations: 103.8 kB / 0.5246 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1459, allocations: 3.938 kB / 0.5246 GB, free: 14.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003181/0.1462, allocations: 177.2 kB / 0.5247 GB, free: 14.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1463, allocations: 4 kB / 0.5247 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1463, allocations: 4 kB / 0.5248 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1463, allocations: 0 / 0.5248 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1464, allocations: 35.98 kB / 0.5248 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1464, allocations: 0 / 0.5248 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-05/0.1465, allocations: 7.938 kB / 0.5248 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.1465, allocations: 4 kB / 0.5248 GB, free: 14.03 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000277/0.1468, allocations: 233.5 kB / 0.525 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.1469, allocations: 51.67 kB / 0.5251 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.1473, allocations: 209.6 kB / 0.5253 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1473, allocations: 0 / 0.5253 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1474, allocations: 0 / 0.5253 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.1474, allocations: 15.92 kB / 0.5253 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.1477, allocations: 292.5 kB / 0.5256 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1477, allocations: 0 / 0.5256 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.1478, allocations: 15.98 kB / 0.5256 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.1478, allocations: 0 / 0.5256 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.1478, allocations: 256 / 0.5256 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.1478, allocations: 4 kB / 0.5256 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1478, allocations: 4 kB / 0.5256 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1482, allocations: 221.5 kB / 0.5258 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.1483, allocations: 67.64 kB / 0.5259 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.1484, allocations: 4 kB / 0.5259 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.801e-05/0.1485, allocations: 4 kB / 0.5259 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.1485, allocations: 15.97 kB / 0.5259 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.1485, allocations: 8 kB / 0.5259 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009516/0.1495, allocations: 0.776 MB / 0.5266 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1495, allocations: 0 / 0.5266 GB, free: 12.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1497, allocations: 47.95 kB / 0.5267 GB, free: 12 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002296/0.152, allocations: 1.096 MB / 0.5278 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.1523, allocations: 87.89 kB / 0.5278 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1523, allocations: 0 / 0.5278 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1525, allocations: 39.92 kB / 0.5279 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.1529, allocations: 70.2 kB / 0.528 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006257/0.1591, allocations: 4.538 MB / 0.5324 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1595, allocations: 237.8 kB / 0.5326 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.1596, allocations: 54.94 kB / 0.5327 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.1598, allocations: 151.4 kB / 0.5328 GB, free: 5.633 MB / 414.1 MB Notification: Performance of SimCode: time 9.71e-07/0.1598, allocations: 0 / 0.5328 GB, free: 5.633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2707/0.4306, allocations: 9.853 MB / 0.5424 GB, free: 27.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.79, allocations: 6.406 kB / 0.5424 GB, free: 27.23 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test71.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.098523943219334]