Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001258/0.001258, 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.001672/0.001672, allocations: 219 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.452/1.452, allocations: 207.7 MB / 233.8 MB, free: 9.805 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.217/0.217, allocations: 44.28 MB / 330.4 MB, free: 9.297 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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.002438/0.002438, allocations: 75.89 kB / 467.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1201, allocations: 61.04 MB / 0.5162 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003724/0.1239, allocations: 1.812 MB / 0.518 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1256, allocations: 0.8663 MB / 0.5188 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.1257, allocations: 4 kB / 0.5188 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004916/0.1262, allocations: 159.5 kB / 0.519 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.1265, allocations: 135.5 kB / 0.5191 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1269, allocations: 155.7 kB / 0.5193 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.1272, allocations: 219.3 kB / 0.5195 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1273, allocations: 13.73 kB / 0.5195 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.1275, allocations: 107.6 kB / 0.5196 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.1276, allocations: 127.5 kB / 0.5197 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.1277, allocations: 8 kB / 0.5197 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1278, allocations: 43.98 kB / 0.5198 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.513e-05/0.1279, allocations: 59.75 kB / 0.5198 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.662e-05/0.1279, allocations: 51.56 kB / 0.5199 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.1282, allocations: 207 kB / 0.5201 GB, free: 3.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1282, allocations: 0 / 0.5201 GB, free: 3.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1282, allocations: 0 / 0.5201 GB, free: 3.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1282, allocations: 0 / 0.5201 GB, free: 3.137 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006951/0.1289, allocations: 456.7 kB / 0.5205 GB, free: 2.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.129, allocations: 16.02 kB / 0.5205 GB, free: 2.645 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.129, allocations: 34.75 kB / 0.5205 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.313e-05/0.1291, allocations: 28.75 kB / 0.5206 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.1294, allocations: 201.6 kB / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1295, allocations: 4.375 kB / 0.5208 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.1295, allocations: 11.94 kB / 0.5208 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.1297, allocations: 99.34 kB / 0.5209 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1297, allocations: 7.922 kB / 0.5209 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1297, allocations: 4 kB / 0.5209 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1297, allocations: 0 / 0.5209 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1299, allocations: 43.97 kB / 0.5209 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.1304, allocations: 404 kB / 0.5213 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1307, allocations: 117.3 kB / 0.5214 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.999e-05/0.1308, allocations: 41.64 kB / 0.5215 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.1308, allocations: 4 kB / 0.5215 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.1311, allocations: 113 kB / 0.5216 GB, free: 1.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.343e-06/0.1311, allocations: 4 kB / 0.5216 GB, free: 1.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009507/0.132, allocations: 381.1 kB / 0.5219 GB, free: 1.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.1321, allocations: 85.05 kB / 0.522 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.1325, allocations: 360.2 kB / 0.5224 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.1325, allocations: 33.7 kB / 0.5224 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.874e-05/0.1326, allocations: 140.4 kB / 0.5225 GB, free: 404 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.929e-05/0.1326, allocations: 55.58 kB / 0.5226 GB, free: 348 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.1327, allocations: 33.7 kB / 0.5226 GB, free: 308 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1329, allocations: 338.8 kB / 0.5229 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001083/0.133, allocations: 39.98 kB / 0.523 GB, free: 15.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.1331, allocations: 71.41 kB / 0.523 GB, free: 15.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.1333, allocations: 131.7 kB / 0.5232 GB, free: 15.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1333, allocations: 4 kB / 0.5232 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003478/0.1337, allocations: 189.3 kB / 0.5234 GB, free: 15.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1337, allocations: 4 kB / 0.5234 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1337, allocations: 0 / 0.5234 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.1337, allocations: 4 kB / 0.5234 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.1339, allocations: 31.92 kB / 0.5234 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.1339, allocations: 15.98 kB / 0.5234 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.134, allocations: 8 kB / 0.5234 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.134, allocations: 4 kB / 0.5234 GB, free: 15.44 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001523/0.1341, allocations: 165.7 kB / 0.5236 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.1342, allocations: 23.86 kB / 0.5236 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.1346, allocations: 211.2 kB / 0.5238 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.1346, allocations: 7.938 kB / 0.5238 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1346, allocations: 0 / 0.5238 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1346, allocations: 0 / 0.5238 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000828/0.1355, allocations: 0.6039 MB / 0.5244 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1355, allocations: 0 / 0.5244 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.139e-05/0.1355, allocations: 19.98 kB / 0.5244 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.1355, allocations: 4 kB / 0.5244 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1355, allocations: 7.938 kB / 0.5244 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1355, allocations: 4 kB / 0.5244 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1355, allocations: 0 / 0.5244 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.136, allocations: 384.2 kB / 0.5248 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.136, allocations: 23.92 kB / 0.5248 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.1361, allocations: 4 kB / 0.5248 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.1362, allocations: 15.92 kB / 0.5248 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.1362, allocations: 23.91 kB / 0.5249 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.1363, allocations: 4 kB / 0.5249 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000273/0.1365, allocations: 271 kB / 0.5251 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1365, allocations: 0 / 0.5251 GB, free: 13.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003375/0.1369, allocations: 43.92 kB / 0.5252 GB, free: 13.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.002515/0.1394, allocations: 1.304 MB / 0.5264 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.1397, allocations: 111.9 kB / 0.5266 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1397, allocations: 0 / 0.5266 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1398, allocations: 67.97 kB / 0.5266 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.1404, allocations: 57.5 kB / 0.5267 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.1434, allocations: 2.492 MB / 0.5291 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.1435, allocations: 141 kB / 0.5292 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.103e-05/0.1436, allocations: 29.62 kB / 0.5293 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.1438, allocations: 71.41 kB / 0.5293 GB, free: 9.176 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1438, allocations: 0 / 0.5293 GB, free: 9.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03536/0.1791, allocations: 6.265 MB / 0.5355 GB, free: 2.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.59, allocations: 3.938 kB / 0.5355 GB, free: 2.777 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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: 14.795626820065081]