Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.001374/0.001374, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001593/0.001593, allocations: 213.1 kB / 23.77 MB, free: 4.551 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.901/1.901, allocations: 207.7 MB / 234.6 MB, free: 9.785 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.2371/0.2371, allocations: 44.26 MB / 331.1 MB, free: 9.324 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.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12",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.002223/0.002223, allocations: 79.89 kB / 468.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1405, allocations: 61.04 MB / 0.517 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003919/0.1444, allocations: 1.879 MB / 0.5188 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.146, allocations: 0.8078 MB / 0.5196 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.1462, allocations: 7.938 kB / 0.5196 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.1465, allocations: 39.72 kB / 0.5196 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.1468, allocations: 63.64 kB / 0.5197 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.1472, allocations: 111.7 kB / 0.5198 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.1474, allocations: 143.6 kB / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1476, allocations: 17.66 kB / 0.52 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1477, allocations: 59.72 kB / 0.52 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.1478, allocations: 51.7 kB / 0.5201 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.1478, allocations: 8 kB / 0.5201 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.148, allocations: 51.92 kB / 0.5201 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.148, allocations: 23.92 kB / 0.5201 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.701e-05/0.1481, allocations: 43.72 kB / 0.5202 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.1484, allocations: 147.4 kB / 0.5203 GB, free: 3.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1484, allocations: 7.922 kB / 0.5203 GB, free: 3.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1484, allocations: 0 / 0.5203 GB, free: 3.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1484, allocations: 3.938 kB / 0.5203 GB, free: 3.652 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007271/0.1492, allocations: 399.1 kB / 0.5207 GB, free: 3.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.1492, allocations: 12.03 kB / 0.5207 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.737e-05/0.1492, allocations: 192 / 0.5207 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.1493, allocations: 42.75 kB / 0.5208 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.1493, allocations: 12.84 kB / 0.5208 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.1496, allocations: 167.2 kB / 0.5209 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1496, allocations: 12.12 kB / 0.521 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.1497, allocations: 7.953 kB / 0.521 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.15, allocations: 133.9 kB / 0.5211 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.15, allocations: 0 / 0.5211 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.15, allocations: 7.984 kB / 0.5211 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.15, allocations: 0 / 0.5211 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001624/0.1502, allocations: 55.91 kB / 0.5212 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006595/0.1508, allocations: 480 kB / 0.5216 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.1512, allocations: 82.66 kB / 0.5217 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.818e-05/0.1513, allocations: 32.84 kB / 0.5217 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1513, allocations: 4 kB / 0.5217 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002342/0.1515, allocations: 117 kB / 0.5218 GB, free: 1.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1515, allocations: 4 kB / 0.5218 GB, free: 1.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004405/0.152, allocations: 157.3 kB / 0.522 GB, free: 1.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.152, allocations: 51.41 kB / 0.522 GB, free: 1.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1522, allocations: 191.6 kB / 0.5222 GB, free: 1.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1522, allocations: 29.7 kB / 0.5223 GB, free: 1.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.844e-05/0.1523, allocations: 112.1 kB / 0.5224 GB, free: 1.375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.1524, allocations: 31.73 kB / 0.5224 GB, free: 1.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.1524, allocations: 25.72 kB / 0.5224 GB, free: 1.312 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1526, allocations: 330.8 kB / 0.5227 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.181e-05/0.1527, allocations: 31.98 kB / 0.5228 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.1528, allocations: 64.27 kB / 0.5228 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.153, allocations: 100.1 kB / 0.5229 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.153, allocations: 0 / 0.5229 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002871/0.1533, allocations: 145.4 kB / 0.5231 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1533, allocations: 4 kB / 0.5231 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1533, allocations: 4 kB / 0.5231 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1533, allocations: 3.938 kB / 0.5231 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1534, allocations: 27.97 kB / 0.5231 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1535, allocations: 0 / 0.5231 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/0.1535, allocations: 15.89 kB / 0.5231 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.1535, allocations: 4 kB / 0.5231 GB, free: 0.5508 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001384/0.1537, allocations: 133.9 kB / 0.5232 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.1537, allocations: 12.38 kB / 0.5233 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003449/0.1541, allocations: 142.9 kB / 0.5234 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1541, allocations: 0 / 0.5234 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1541, allocations: 0 / 0.5234 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1541, allocations: 4 kB / 0.5234 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.1543, allocations: 176.7 kB / 0.5236 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1543, allocations: 0 / 0.5236 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-05/0.1544, allocations: 12 kB / 0.5236 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1544, allocations: 4 kB / 0.5236 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.1544, allocations: 3.938 kB / 0.5236 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.1544, allocations: 4 kB / 0.5236 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1544, allocations: 0 / 0.5236 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.1548, allocations: 196.9 kB / 0.5238 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.1548, allocations: 12.03 kB / 0.5238 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.1549, allocations: 11.92 kB / 0.5238 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.111e-05/0.1549, allocations: 7.938 kB / 0.5238 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.155, allocations: 11.92 kB / 0.5238 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.155, allocations: 8.062 kB / 0.5238 GB, free: 15.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.1551, allocations: 149.1 kB / 0.524 GB, free: 15.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1551, allocations: 0 / 0.524 GB, free: 15.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1554, allocations: 27.94 kB / 0.524 GB, free: 15.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002231/0.1576, allocations: 1.049 MB / 0.525 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.1579, allocations: 87.95 kB / 0.5251 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1579, allocations: 0 / 0.5251 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.158, allocations: 43.91 kB / 0.5251 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.1583, allocations: 40.22 kB / 0.5252 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.1606, allocations: 1.745 MB / 0.5269 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.1607, allocations: 102.7 kB / 0.527 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.109e-05/0.1607, allocations: 21.06 kB / 0.527 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.1608, allocations: 43.42 kB / 0.527 GB, free: 12.35 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1608, allocations: 0 / 0.527 GB, free: 12.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02656/0.1874, allocations: 4.189 MB / 0.5311 GB, free: 8.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.58, allocations: 8 kB / 0.5311 GB, free: 8.039 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.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.517216869047843]