Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.001246/0.001246, allocations: 109 kB / 20.48 MB, free: 1.492 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.001381/0.001381, allocations: 216.2 kB / 23.79 MB, free: 4.707 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.407/1.407, allocations: 207.6 MB / 234.6 MB, free: 9.996 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.2173/0.2173, allocations: 44.24 MB / 331.1 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 180] 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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",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.002258/0.002258, allocations: 66.41 kB / 468.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1239, allocations: 61.04 MB / 0.517 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003352/0.1273, allocations: 1.945 MB / 0.5189 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.1289, allocations: 0.9987 MB / 0.5198 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.188e-05/0.129, allocations: 11.94 kB / 0.5199 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.1296, allocations: 199.4 kB / 0.52 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.13, allocations: 163.4 kB / 0.5202 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.1305, allocations: 195.5 kB / 0.5204 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.1308, allocations: 255.2 kB / 0.5206 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.96e-05/0.1309, allocations: 22.05 kB / 0.5207 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.1311, allocations: 111.5 kB / 0.5208 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.1312, allocations: 107.6 kB / 0.5209 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.1313, allocations: 12 kB / 0.5209 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.1314, allocations: 71.88 kB / 0.5209 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.075e-05/0.1315, allocations: 43.84 kB / 0.521 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1316, allocations: 95.34 kB / 0.5211 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.1319, allocations: 227 kB / 0.5213 GB, free: 2.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1319, allocations: 4 kB / 0.5213 GB, free: 2.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1319, allocations: 0 / 0.5213 GB, free: 2.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1319, allocations: 4 kB / 0.5213 GB, free: 2.805 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000759/0.1327, allocations: 482.5 kB / 0.5218 GB, free: 2.297 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.1327, allocations: 8.031 kB / 0.5218 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.088e-05/0.1327, allocations: 192 / 0.5218 GB, free: 2.289 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.1328, allocations: 50.62 kB / 0.5218 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.1328, allocations: 24.8 kB / 0.5218 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.1332, allocations: 221.5 kB / 0.522 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1332, allocations: 12.06 kB / 0.5221 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.1332, allocations: 11.98 kB / 0.5221 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.1334, allocations: 100.2 kB / 0.5222 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1334, allocations: 0 / 0.5222 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1335, allocations: 8 kB / 0.5222 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1335, allocations: 0 / 0.5222 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.1336, allocations: 39.97 kB / 0.5222 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.1341, allocations: 340.7 kB / 0.5225 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.1344, allocations: 113.2 kB / 0.5226 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1345, allocations: 41.7 kB / 0.5227 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.1345, allocations: 0 / 0.5227 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.1347, allocations: 125 kB / 0.5228 GB, free: 1.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 3.106e-06/0.1347, allocations: 3.984 kB / 0.5228 GB, free: 1.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004594/0.1352, allocations: 177.4 kB / 0.523 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.1353, allocations: 102.8 kB / 0.5231 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000389/0.1356, allocations: 340.2 kB / 0.5234 GB, free: 452 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.1357, allocations: 29.69 kB / 0.5234 GB, free: 416 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1358, allocations: 140.1 kB / 0.5236 GB, free: 272 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.1358, allocations: 31.73 kB / 0.5236 GB, free: 240 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.1359, allocations: 29.72 kB / 0.5236 GB, free: 204 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.136, allocations: 338.8 kB / 0.5239 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.53e-05/0.1361, allocations: 31.97 kB / 0.524 GB, free: 15.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.1363, allocations: 81.02 kB / 0.5241 GB, free: 15.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.1364, allocations: 95.94 kB / 0.5241 GB, free: 15.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1364, allocations: 0 / 0.5241 GB, free: 15.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002993/0.1367, allocations: 149.4 kB / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1368, allocations: 8 kB / 0.5243 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1368, allocations: 64 / 0.5243 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1368, allocations: 4 kB / 0.5243 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.1369, allocations: 23.98 kB / 0.5243 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1369, allocations: 0 / 0.5243 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.209e-05/0.137, allocations: 27.75 kB / 0.5243 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.137, allocations: 8 kB / 0.5244 GB, free: 15.4 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001387/0.1371, allocations: 141.8 kB / 0.5245 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.1372, allocations: 23.86 kB / 0.5245 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.1375, allocations: 167.3 kB / 0.5247 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1375, allocations: 0 / 0.5247 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1375, allocations: 256 / 0.5247 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.1375, allocations: 7.938 kB / 0.5247 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.1378, allocations: 232.5 kB / 0.5249 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1378, allocations: 0 / 0.5249 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.63e-05/0.1378, allocations: 11.98 kB / 0.5249 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1378, allocations: 0 / 0.5249 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.1378, allocations: 8 kB / 0.5249 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1378, allocations: 0 / 0.5249 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1378, allocations: 7.938 kB / 0.5249 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.1381, allocations: 181.7 kB / 0.5251 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.1382, allocations: 23.86 kB / 0.5251 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.1382, allocations: 8 kB / 0.5251 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.397e-05/0.1383, allocations: 7.984 kB / 0.5251 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.1383, allocations: 11.92 kB / 0.5251 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.1384, allocations: 12 kB / 0.5252 GB, free: 14.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002543/0.1386, allocations: 243.1 kB / 0.5254 GB, free: 14.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1386, allocations: 0 / 0.5254 GB, free: 14.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1389, allocations: 35.98 kB / 0.5254 GB, free: 14.22 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.002071/0.141, allocations: 1.038 MB / 0.5264 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.1412, allocations: 87.89 kB / 0.5265 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.1412, allocations: 4 kB / 0.5265 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.1413, allocations: 39.92 kB / 0.5266 GB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.1417, allocations: 64.86 kB / 0.5266 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.1446, allocations: 2.287 MB / 0.5289 GB, free: 10.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1449, allocations: 0.7476 MB / 0.5296 GB, free: 9.844 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.855e-05/0.145, allocations: 33.92 kB / 0.5296 GB, free: 9.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.1451, allocations: 67.42 kB / 0.5297 GB, free: 9.742 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1451, allocations: 0 / 0.5297 GB, free: 9.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02523/0.1703, allocations: 5.885 MB / 0.5354 GB, free: 3.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.78, allocations: 3.906 kB / 0.5354 GB, free: 3.762 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.028707719000522]