Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.001274/0.001274, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.001385/0.001385, allocations: 213 kB / 23 MB, free: 5.004 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.473/1.473, allocations: 207.6 MB / 233.8 MB, free: 10.01 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.2193/0.2193, allocations: 44.24 MB / 330.3 MB, free: 9.621 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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",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.002349/0.002349, allocations: 71.83 kB / 467.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1253, allocations: 61.05 MB / 0.5162 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003914/0.1292, allocations: 1.8 MB / 0.518 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.1311, allocations: 0.9014 MB / 0.5188 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.1312, allocations: 7.875 kB / 0.5188 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.1318, allocations: 307.3 kB / 0.5191 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004474/0.1323, allocations: 215.3 kB / 0.5193 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.1327, allocations: 147.7 kB / 0.5195 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.1331, allocations: 243.3 kB / 0.5197 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.681e-05/0.1332, allocations: 10.02 kB / 0.5197 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.1334, allocations: 139.5 kB / 0.5199 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.1337, allocations: 215.5 kB / 0.5201 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/0.1338, allocations: 4 kB / 0.5201 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1339, allocations: 39.94 kB / 0.5201 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.1341, allocations: 147.6 kB / 0.5202 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.1343, allocations: 146.8 kB / 0.5204 GB, free: 2.984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005171/0.1348, allocations: 370.2 kB / 0.5207 GB, free: 2.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1348, allocations: 0 / 0.5207 GB, free: 2.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1348, allocations: 0 / 0.5207 GB, free: 2.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1348, allocations: 0 / 0.5207 GB, free: 2.621 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.001336/0.1361, allocations: 0.6747 MB / 0.5214 GB, free: 1.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.1362, allocations: 8.031 kB / 0.5214 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/0.1363, allocations: 38.75 kB / 0.5214 GB, free: 1.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.1364, allocations: 56.61 kB / 0.5215 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008483/0.1372, allocations: 386.6 kB / 0.5219 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1372, allocations: 4.375 kB / 0.5219 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.1373, allocations: 3.938 kB / 0.5219 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.1375, allocations: 91.3 kB / 0.522 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1375, allocations: 4 kB / 0.522 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.1375, allocations: 4 kB / 0.522 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1375, allocations: 4 kB / 0.522 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.1377, allocations: 23.98 kB / 0.522 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.1382, allocations: 349.4 kB / 0.5223 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.1385, allocations: 117.1 kB / 0.5224 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1386, allocations: 33.7 kB / 0.5225 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1387, allocations: 0 / 0.5225 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.1389, allocations: 113 kB / 0.5226 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.1389, allocations: 4 kB / 0.5226 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005828/0.1395, allocations: 201.2 kB / 0.5228 GB, free: 372 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.1396, allocations: 77.11 kB / 0.5229 GB, free: 276 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.1409, allocations: 1.038 MB / 0.5239 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.1409, allocations: 29.7 kB / 0.5239 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.1411, allocations: 232 kB / 0.5241 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.1412, allocations: 27.84 kB / 0.5241 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.1412, allocations: 29.7 kB / 0.5242 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.1414, allocations: 370.7 kB / 0.5245 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.714e-05/0.1415, allocations: 27.98 kB / 0.5245 GB, free: 14.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1416, allocations: 59.36 kB / 0.5246 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.1419, allocations: 91.41 kB / 0.5247 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.1419, allocations: 8.375 kB / 0.5247 GB, free: 14.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003205/0.1422, allocations: 169.2 kB / 0.5249 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.1422, allocations: 8 kB / 0.5249 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1422, allocations: 0 / 0.5249 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1422, allocations: 3.984 kB / 0.5249 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.1424, allocations: 20 kB / 0.5249 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.1424, allocations: 3.938 kB / 0.5249 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.1425, allocations: 19.98 kB / 0.5249 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1425, allocations: 4 kB / 0.5249 GB, free: 14.08 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.000246/0.1427, allocations: 225.6 kB / 0.5251 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.1428, allocations: 51.67 kB / 0.5252 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004278/0.1432, allocations: 205.6 kB / 0.5254 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1432, allocations: 0 / 0.5254 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1432, allocations: 0 / 0.5254 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.1432, allocations: 8 kB / 0.5254 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.1436, allocations: 316.4 kB / 0.5257 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1436, allocations: 0 / 0.5257 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.1437, allocations: 8 kB / 0.5257 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1437, allocations: 4 kB / 0.5257 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1437, allocations: 0 / 0.5257 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.1437, allocations: 7.984 kB / 0.5257 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.1437, allocations: 3.938 kB / 0.5257 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.1441, allocations: 213.5 kB / 0.5259 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.1442, allocations: 67.59 kB / 0.526 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.1443, allocations: 4.25 kB / 0.526 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.1444, allocations: 11.98 kB / 0.526 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.1444, allocations: 11.98 kB / 0.526 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.1445, allocations: 4 kB / 0.526 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009721/0.1454, allocations: 0.7721 MB / 0.5268 GB, free: 12.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1454, allocations: 0 / 0.5268 GB, free: 12.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1457, allocations: 47.95 kB / 0.5268 GB, free: 12.07 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.002146/0.1478, allocations: 1.057 MB / 0.5278 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.1481, allocations: 83.91 kB / 0.5279 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1481, allocations: 0 / 0.5279 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001152/0.1482, allocations: 44.28 kB / 0.528 GB, free: 10.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.1486, allocations: 70.28 kB / 0.528 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00612/0.1548, allocations: 4.539 MB / 0.5325 GB, free: 6.184 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006553/0.1554, allocations: 0.8465 MB / 0.5333 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001442/0.1556, allocations: 58.94 kB / 0.5333 GB, free: 5.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002115/0.1558, allocations: 139.4 kB / 0.5335 GB, free: 5.117 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1558, allocations: 0 / 0.5335 GB, free: 5.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2693/0.4251, allocations: 9.214 MB / 0.5425 GB, free: 27.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.91, allocations: 7.672 kB / 0.5425 GB, free: 27.47 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.038569980999455]