Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001435/0.001435, allocations: 111.7 kB / 19.69 MB, free: 2.188 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.001722/0.001722, allocations: 220.7 kB / 23.01 MB, free: 5.004 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.428/1.428, allocations: 207.6 MB / 233.8 MB, free: 10 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.2528/0.2528, allocations: 44.24 MB / 330.3 MB, free: 9.523 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.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81",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.002363/0.002363, allocations: 72.45 kB / 467.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1255, allocations: 61.05 MB / 0.5162 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003677/0.1292, allocations: 1.807 MB / 0.518 GB, free: 5.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.1323, allocations: 1.575 MB / 0.5195 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.1324, allocations: 7.938 kB / 0.5195 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.1328, allocations: 63.67 kB / 0.5196 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000389/0.1332, allocations: 87.55 kB / 0.5197 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.1337, allocations: 143.7 kB / 0.5198 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.134, allocations: 187.4 kB / 0.52 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.699e-05/0.1341, allocations: 10.02 kB / 0.52 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.1342, allocations: 87.56 kB / 0.5201 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.1345, allocations: 71.62 kB / 0.5201 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.1345, allocations: 8 kB / 0.5201 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.1347, allocations: 67.97 kB / 0.5202 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.365e-05/0.1348, allocations: 35.84 kB / 0.5202 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.301e-05/0.1349, allocations: 55.67 kB / 0.5203 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003067/0.1352, allocations: 179.1 kB / 0.5205 GB, free: 2.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1352, allocations: 0 / 0.5205 GB, free: 2.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1352, allocations: 0 / 0.5205 GB, free: 2.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1352, allocations: 4 kB / 0.5205 GB, free: 2.879 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.0007159/0.1359, allocations: 389.2 kB / 0.5208 GB, free: 2.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1359, allocations: 12.03 kB / 0.5208 GB, free: 2.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.136, allocations: 38.75 kB / 0.5209 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.1361, allocations: 16.84 kB / 0.5209 GB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.1364, allocations: 189.8 kB / 0.5211 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1364, allocations: 4.375 kB / 0.5211 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.1365, allocations: 7.938 kB / 0.5211 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.1367, allocations: 97.08 kB / 0.5212 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1367, allocations: 4 kB / 0.5212 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1367, allocations: 0 / 0.5212 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1367, allocations: 0 / 0.5212 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.1369, allocations: 35.91 kB / 0.5212 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/0.1371, allocations: 185.6 kB / 0.5214 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.1374, allocations: 109.1 kB / 0.5215 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.608e-05/0.1375, allocations: 37.7 kB / 0.5215 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1375, allocations: 3.984 kB / 0.5215 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002406/0.1378, allocations: 109 kB / 0.5217 GB, free: 1.496 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1378, allocations: 0 / 0.5217 GB, free: 1.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004693/0.1383, allocations: 158 kB / 0.5218 GB, free: 1.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.1384, allocations: 140.5 kB / 0.5219 GB, free: 1.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1386, allocations: 207.8 kB / 0.5221 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1386, allocations: 29.7 kB / 0.5222 GB, free: 0.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.1387, allocations: 112.1 kB / 0.5223 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.1388, allocations: 39.73 kB / 0.5223 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.041e-05/0.1388, allocations: 29.7 kB / 0.5223 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.139, allocations: 326.8 kB / 0.5226 GB, free: 412 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.453e-05/0.1391, allocations: 27.98 kB / 0.5227 GB, free: 384 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.1392, allocations: 69.12 kB / 0.5227 GB, free: 296 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.1394, allocations: 91.45 kB / 0.5228 GB, free: 192 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1394, allocations: 3.938 kB / 0.5228 GB, free: 188 kB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000279/0.1396, allocations: 133.5 kB / 0.523 GB, free: 48 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1397, allocations: 7.984 kB / 0.523 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.1397, allocations: 4 kB / 0.523 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1397, allocations: 4.062 kB / 0.523 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1398, allocations: 19.94 kB / 0.523 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1398, allocations: 4 kB / 0.523 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.97e-05/0.1399, allocations: 16.06 kB / 0.523 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1399, allocations: 8 kB / 0.523 GB, free: 15.98 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001376/0.14, allocations: 145.5 kB / 0.5232 GB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.1401, allocations: 19.84 kB / 0.5232 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003547/0.1404, allocations: 146.7 kB / 0.5233 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1404, allocations: 4 kB / 0.5233 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1404, allocations: 4.188 kB / 0.5233 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1404, allocations: 0 / 0.5233 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.1406, allocations: 196.5 kB / 0.5235 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1407, allocations: 4 kB / 0.5235 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.1407, allocations: 8 kB / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1407, allocations: 0 / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1407, allocations: 4 kB / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1407, allocations: 0 / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1407, allocations: 0 / 0.5235 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.141, allocations: 181.7 kB / 0.5237 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.141, allocations: 11.91 kB / 0.5237 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.1411, allocations: 4 kB / 0.5237 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.1411, allocations: 7.984 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.1412, allocations: 8 kB / 0.5237 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1412, allocations: 7.984 kB / 0.5237 GB, free: 15.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.1414, allocations: 161.5 kB / 0.5239 GB, free: 15.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1414, allocations: 0 / 0.5239 GB, free: 15.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.1416, allocations: 39.92 kB / 0.5239 GB, free: 14.97 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (10): * Single equations (assignments): 6 * 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.002164/0.1438, allocations: 1.052 MB / 0.525 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.1441, allocations: 83.84 kB / 0.525 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1441, allocations: 0 / 0.525 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.1442, allocations: 31.98 kB / 0.5251 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1445, allocations: 60.02 kB / 0.5251 GB, free: 13.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.1469, allocations: 1.813 MB / 0.5269 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1472, allocations: 0.7125 MB / 0.5276 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.1473, allocations: 29.45 kB / 0.5276 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.1474, allocations: 59.41 kB / 0.5277 GB, free: 11.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1474, allocations: 0 / 0.5277 GB, free: 11.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/0.1827, allocations: 4.893 MB / 0.5325 GB, free: 6.004 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.41, allocations: 11.8 kB / 0.5325 GB, free: 5.992 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.646141483914107]