Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.001804/0.001804, allocations: 110.2 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.002304/0.002304, allocations: 223.3 kB / 23.01 MB, free: 5.039 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.534/1.534, 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.2325/0.2325, 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.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70",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.002698/0.002698, allocations: 67.91 kB / 467.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1313, allocations: 61.05 MB / 0.5162 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003421/0.1347, allocations: 1.804 MB / 0.518 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1363, allocations: 0.9014 MB / 0.5188 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.07e-05/0.1363, allocations: 7.938 kB / 0.5189 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.1369, allocations: 311.3 kB / 0.5192 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.1374, allocations: 207.4 kB / 0.5193 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.1377, allocations: 139.7 kB / 0.5195 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.1381, allocations: 251.3 kB / 0.5197 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.211e-05/0.1381, allocations: 14 kB / 0.5197 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.1383, allocations: 143.4 kB / 0.5199 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.1386, allocations: 203.5 kB / 0.5201 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/0.1386, allocations: 8 kB / 0.5201 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1387, allocations: 47.91 kB / 0.5201 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.1389, allocations: 139.6 kB / 0.5203 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.139, allocations: 146.8 kB / 0.5204 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.1395, allocations: 370.2 kB / 0.5207 GB, free: 2.586 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1395, allocations: 0 / 0.5207 GB, free: 2.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1395, allocations: 0 / 0.5207 GB, free: 2.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.1395, allocations: 4 kB / 0.5207 GB, free: 2.582 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.001038/0.1405, allocations: 0.6708 MB / 0.5214 GB, free: 1.879 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1406, allocations: 12.02 kB / 0.5214 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.1406, allocations: 34.75 kB / 0.5214 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.1407, allocations: 52.61 kB / 0.5215 GB, free: 1.773 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.1414, allocations: 390.6 kB / 0.5219 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1414, allocations: 384 / 0.5219 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.1414, allocations: 11.94 kB / 0.5219 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001995/0.1416, allocations: 87.31 kB / 0.522 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1416, allocations: 0 / 0.522 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1416, allocations: 11.98 kB / 0.522 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1416, allocations: 0 / 0.522 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.1418, allocations: 23.98 kB / 0.522 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.1422, allocations: 349.4 kB / 0.5223 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.1425, allocations: 109.1 kB / 0.5224 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.654e-05/0.1426, allocations: 37.69 kB / 0.5225 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1426, allocations: 0 / 0.5225 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.1429, allocations: 113 kB / 0.5226 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.1429, allocations: 0 / 0.5226 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004853/0.1434, allocations: 197.2 kB / 0.5228 GB, free: 348 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.1434, allocations: 81.09 kB / 0.5228 GB, free: 248 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.1447, allocations: 1.034 MB / 0.5239 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.1447, allocations: 37.69 kB / 0.5239 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.1449, allocations: 228.1 kB / 0.5241 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.145, allocations: 27.78 kB / 0.5241 GB, free: 14.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.145, allocations: 29.72 kB / 0.5242 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1452, allocations: 366.8 kB / 0.5245 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.1453, allocations: 31.92 kB / 0.5245 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.1454, allocations: 63.36 kB / 0.5246 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.1456, allocations: 87.91 kB / 0.5247 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.1456, allocations: 11.88 kB / 0.5247 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003069/0.1459, allocations: 165.2 kB / 0.5249 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1459, allocations: 8.062 kB / 0.5249 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1459, allocations: 4 kB / 0.5249 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.146, allocations: 3.984 kB / 0.5249 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1461, allocations: 23.98 kB / 0.5249 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1461, allocations: 3.938 kB / 0.5249 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.1462, allocations: 15.92 kB / 0.5249 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.1462, allocations: 4 kB / 0.5249 GB, free: 14.05 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.0002284/0.1464, allocations: 221.6 kB / 0.5251 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.388e-05/0.1465, allocations: 59.66 kB / 0.5252 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.1469, allocations: 205.6 kB / 0.5254 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1469, allocations: 0 / 0.5254 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1469, allocations: 0 / 0.5254 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.1469, allocations: 4 kB / 0.5254 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003305/0.1472, allocations: 316.4 kB / 0.5257 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1472, allocations: 0 / 0.5257 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.1473, allocations: 8 kB / 0.5257 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1473, allocations: 4 kB / 0.5257 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1473, allocations: 4 kB / 0.5257 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1473, allocations: 256 / 0.5257 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.1473, allocations: 7.938 kB / 0.5257 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.1477, allocations: 225.4 kB / 0.5259 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.1478, allocations: 63.59 kB / 0.526 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.1478, allocations: 4 kB / 0.526 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.1479, allocations: 8 kB / 0.526 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.148, allocations: 15.97 kB / 0.526 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.148, allocations: 4 kB / 0.526 GB, free: 12.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00087/0.1488, allocations: 0.7682 MB / 0.5268 GB, free: 12.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1488, allocations: 0 / 0.5268 GB, free: 12.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1491, allocations: 47.94 kB / 0.5268 GB, free: 12.03 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.002117/0.1512, allocations: 1.057 MB / 0.5278 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.1515, allocations: 83.89 kB / 0.5279 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1515, allocations: 0 / 0.5279 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.1516, allocations: 39.92 kB / 0.528 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.152, allocations: 66.33 kB / 0.528 GB, free: 10.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006163/0.1582, allocations: 4.539 MB / 0.5325 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.1587, allocations: 0.8465 MB / 0.5333 GB, free: 5.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.1589, allocations: 58.94 kB / 0.5333 GB, free: 5.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.1591, allocations: 143.4 kB / 0.5335 GB, free: 5.09 MB / 414.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1591, allocations: 3.938 kB / 0.5335 GB, free: 5.086 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2735/0.4326, allocations: 9.216 MB / 0.5425 GB, free: 27.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.92, allocations: 5.25 kB / 0.5425 GB, free: 27.48 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.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.180912151001394]