Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001416/0.001416, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002374/0.002374, allocations: 214.8 kB / 23.78 MB, free: 4.523 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.397/1.397, allocations: 207.7 MB / 234.6 MB, free: 9.773 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.2191/0.2191, allocations: 44.26 MB / 331.1 MB, free: 9.305 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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.002226/0.002226, allocations: 67.91 kB / 468.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1302, allocations: 61.05 MB / 0.517 GB, free: 7.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003167/0.1334, allocations: 1.686 MB / 0.5186 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.1355, allocations: 1.467 MB / 0.5201 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.1356, allocations: 7.938 kB / 0.5201 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.1359, allocations: 35.78 kB / 0.5201 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.1361, allocations: 63.69 kB / 0.5202 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.1364, allocations: 91.75 kB / 0.5202 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1366, allocations: 103.7 kB / 0.5203 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.515e-05/0.1366, allocations: 12.2 kB / 0.5204 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.942e-05/0.1367, allocations: 47.8 kB / 0.5204 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1368, allocations: 39.83 kB / 0.5204 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1369, allocations: 8 kB / 0.5204 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.137, allocations: 67.91 kB / 0.5205 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.137, allocations: 15.92 kB / 0.5205 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.1371, allocations: 27.86 kB / 0.5205 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1373, allocations: 127.5 kB / 0.5207 GB, free: 3.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1373, allocations: 0 / 0.5207 GB, free: 3.301 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1373, allocations: 0 / 0.5207 GB, free: 3.301 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1374, allocations: 4 kB / 0.5207 GB, free: 3.297 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005801/0.1379, allocations: 341.6 kB / 0.521 GB, free: 2.934 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.138, allocations: 12.03 kB / 0.521 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.462e-05/0.138, allocations: 8.125 kB / 0.521 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.138, allocations: 38.73 kB / 0.5211 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.1381, allocations: 12.89 kB / 0.5211 GB, free: 2.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.1384, allocations: 146.5 kB / 0.5212 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1384, allocations: 4 kB / 0.5212 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.1384, allocations: 0 / 0.5212 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.1386, allocations: 105.1 kB / 0.5213 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1386, allocations: 0 / 0.5213 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1386, allocations: 0 / 0.5213 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1386, allocations: 4 kB / 0.5213 GB, free: 2.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.1387, allocations: 39.91 kB / 0.5214 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.1392, allocations: 263.9 kB / 0.5216 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.1394, allocations: 70.67 kB / 0.5217 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.45e-05/0.1395, allocations: 24.84 kB / 0.5217 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1395, allocations: 3.938 kB / 0.5217 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.1397, allocations: 75.38 kB / 0.5218 GB, free: 2.023 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.492e-06/0.1397, allocations: 4 kB / 0.5218 GB, free: 2.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006424/0.1403, allocations: 213.2 kB / 0.522 GB, free: 1.805 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.1404, allocations: 81.11 kB / 0.5221 GB, free: 1.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1406, allocations: 162.4 kB / 0.5222 GB, free: 1.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.1406, allocations: 29.73 kB / 0.5222 GB, free: 1.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.031e-05/0.1407, allocations: 108 kB / 0.5223 GB, free: 1.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.1407, allocations: 23.92 kB / 0.5224 GB, free: 1.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.1408, allocations: 29.7 kB / 0.5224 GB, free: 1.332 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1409, allocations: 322.8 kB / 0.5227 GB, free: 1.008 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.141, allocations: 27.98 kB / 0.5227 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1411, allocations: 76.2 kB / 0.5228 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.1413, allocations: 73.73 kB / 0.5229 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.1413, allocations: 4 kB / 0.5229 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000236/0.1415, allocations: 121.5 kB / 0.523 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1415, allocations: 7.938 kB / 0.523 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1415, allocations: 0 / 0.523 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1415, allocations: 7.984 kB / 0.523 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.1416, allocations: 19.92 kB / 0.523 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1416, allocations: 4 kB / 0.523 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.348e-05/0.1417, allocations: 7.938 kB / 0.523 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1417, allocations: 8.031 kB / 0.523 GB, free: 0.6289 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001437/0.1419, allocations: 121.8 kB / 0.5232 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.1419, allocations: 15.89 kB / 0.5232 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000338/0.1422, allocations: 142.5 kB / 0.5233 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1422, allocations: 0 / 0.5233 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1422, allocations: 4 kB / 0.5233 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1422, allocations: 0 / 0.5233 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.1428, allocations: 398.3 kB / 0.5237 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1429, allocations: 0 / 0.5237 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.588e-05/0.1429, allocations: 24.02 kB / 0.5237 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1429, allocations: 0 / 0.5237 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.1429, allocations: 0 / 0.5237 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1429, allocations: 8.406 kB / 0.5237 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1429, allocations: 0 / 0.5237 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.1433, allocations: 236.2 kB / 0.524 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.1433, allocations: 11.95 kB / 0.524 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.1433, allocations: 4 kB / 0.524 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.1434, allocations: 7.984 kB / 0.524 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.1434, allocations: 7.984 kB / 0.524 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.1435, allocations: 8 kB / 0.524 GB, free: 15.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1436, allocations: 131.9 kB / 0.5241 GB, free: 15.44 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1436, allocations: 0 / 0.5241 GB, free: 15.44 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.1439, allocations: 39.86 kB / 0.5242 GB, free: 15.4 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (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): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002704/0.1466, allocations: 1.195 MB / 0.5253 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.1469, allocations: 71.91 kB / 0.5254 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1469, allocations: 0 / 0.5254 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.147, allocations: 39.92 kB / 0.5254 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.1474, allocations: 31.95 kB / 0.5255 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.1495, allocations: 1.655 MB / 0.5271 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.1496, allocations: 85.69 kB / 0.5272 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.294e-05/0.1497, allocations: 20.62 kB / 0.5272 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.346e-05/0.1498, allocations: 43.36 kB / 0.5272 GB, free: 12.18 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1498, allocations: 0 / 0.5272 GB, free: 12.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02622/0.176, allocations: 4.162 MB / 0.5313 GB, free: 7.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.86, allocations: 12.02 kB / 0.5313 GB, free: 7.863 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.060263872030191]