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.001446/0.001446, 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.001749/0.001749, allocations: 217.6 kB / 22.99 MB, free: 4.977 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.633/1.633, allocations: 207.7 MB / 233.8 MB, free: 9.789 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.2725/0.2725, allocations: 44.27 MB / 330.3 MB, free: 9.293 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.002264/0.002264, allocations: 71.89 kB / 467.5 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1254, allocations: 61.05 MB / 0.5162 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003306/0.1287, allocations: 1.746 MB / 0.5179 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1302, allocations: 0.8547 MB / 0.5187 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.456e-05/0.1303, allocations: 8 kB / 0.5188 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005747/0.1309, allocations: 303.3 kB / 0.519 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.1313, allocations: 215.3 kB / 0.5193 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.1316, allocations: 143.6 kB / 0.5194 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.132, allocations: 247.3 kB / 0.5196 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.131e-05/0.132, allocations: 10.02 kB / 0.5196 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.1322, allocations: 127.5 kB / 0.5198 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.1325, allocations: 215.5 kB / 0.52 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.1325, allocations: 8 kB / 0.52 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1327, allocations: 47.98 kB / 0.52 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.1328, allocations: 143.5 kB / 0.5202 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.1329, allocations: 111.1 kB / 0.5203 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004365/0.1334, allocations: 370.2 kB / 0.5206 GB, free: 2.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1334, allocations: 0 / 0.5206 GB, free: 2.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1334, allocations: 0 / 0.5206 GB, free: 2.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1334, allocations: 0 / 0.5206 GB, free: 2.57 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.001016/0.1344, allocations: 0.6708 MB / 0.5213 GB, free: 1.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1344, allocations: 12.03 kB / 0.5213 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.1345, allocations: 38.73 kB / 0.5213 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.864e-05/0.1346, allocations: 52.61 kB / 0.5214 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.1352, allocations: 386.5 kB / 0.5217 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1352, allocations: 8.312 kB / 0.5217 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1353, allocations: 3.938 kB / 0.5217 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.1355, allocations: 99.28 kB / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1355, allocations: 0 / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1355, allocations: 0 / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1355, allocations: 0 / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1357, allocations: 39.95 kB / 0.5219 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.1361, allocations: 333.5 kB / 0.5222 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.1364, allocations: 109.1 kB / 0.5223 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.6e-05/0.1365, allocations: 37.7 kB / 0.5223 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1365, allocations: 7.984 kB / 0.5223 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002443/0.1367, allocations: 109 kB / 0.5224 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.1367, allocations: 0 / 0.5224 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005193/0.1373, allocations: 213.2 kB / 0.5227 GB, free: 316 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.1373, allocations: 77.11 kB / 0.5227 GB, free: 220 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.1386, allocations: 1.046 MB / 0.5237 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1386, allocations: 25.7 kB / 0.5238 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.1388, allocations: 236.1 kB / 0.524 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.181e-05/0.1389, allocations: 27.83 kB / 0.524 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.1389, allocations: 25.72 kB / 0.524 GB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.1391, allocations: 366.8 kB / 0.5244 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.371e-05/0.1392, allocations: 35.97 kB / 0.5244 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1393, allocations: 55.42 kB / 0.5245 GB, free: 14.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.1396, allocations: 95.34 kB / 0.5246 GB, free: 14.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1396, allocations: 3.75 kB / 0.5246 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003175/0.1399, allocations: 181.2 kB / 0.5248 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.1399, allocations: 8 kB / 0.5248 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1399, allocations: 0.625 kB / 0.5248 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1399, allocations: 0 / 0.5248 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.14, allocations: 28.05 kB / 0.5248 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.14, allocations: 0 / 0.5248 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.224e-05/0.1401, allocations: 11.94 kB / 0.5248 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.1401, allocations: 8 kB / 0.5248 GB, free: 14.02 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.0002402/0.1404, allocations: 233.5 kB / 0.525 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.1405, allocations: 51.67 kB / 0.5251 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004077/0.1409, allocations: 205.6 kB / 0.5253 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1409, allocations: 7.922 kB / 0.5253 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.1409, allocations: 4 kB / 0.5253 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.1409, allocations: 4 kB / 0.5253 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.1412, allocations: 288.5 kB / 0.5256 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1412, allocations: 7.984 kB / 0.5256 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.273e-05/0.1412, allocations: 8 kB / 0.5256 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1413, allocations: 0 / 0.5256 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1413, allocations: 8 kB / 0.5256 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1413, allocations: 0 / 0.5256 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1413, allocations: 0 / 0.5256 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.1416, allocations: 217.5 kB / 0.5258 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.1418, allocations: 63.66 kB / 0.5259 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.212e-05/0.1418, allocations: 12 kB / 0.5259 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.142, allocations: 3.984 kB / 0.5259 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.142, allocations: 11.98 kB / 0.5259 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.142, allocations: 8 kB / 0.5259 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001342/0.1434, allocations: 0.776 MB / 0.5266 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1434, allocations: 0 / 0.5266 GB, free: 12.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002801/0.1437, allocations: 48 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.002961/0.1466, allocations: 1.096 MB / 0.5278 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004323/0.1471, allocations: 87.89 kB / 0.5278 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1471, allocations: 0 / 0.5278 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002144/0.1473, allocations: 43.91 kB / 0.5279 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007277/0.148, allocations: 66.66 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.009103/0.1571, allocations: 4.542 MB / 0.5324 GB, free: 6.082 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1575, allocations: 245.7 kB / 0.5326 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000203/0.1577, allocations: 54.95 kB / 0.5327 GB, free: 5.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.158, allocations: 147.4 kB / 0.5328 GB, free: 5.625 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.158, allocations: 0 / 0.5328 GB, free: 5.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3043/0.4624, allocations: 9.848 MB / 0.5424 GB, free: 27.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.88, allocations: 2.625 kB / 0.5424 GB, free: 27.38 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.294169181957841]