Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001871/0.001871, 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.002059/0.002059, 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.772/1.772, allocations: 207.7 MB / 234.6 MB, free: 9.781 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.2544/0.2544, allocations: 44.27 MB / 331.1 MB, free: 9.301 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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.002194/0.002194, allocations: 66.25 kB / 468.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1319, allocations: 61.04 MB / 0.517 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004188/0.1361, allocations: 1.879 MB / 0.5188 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1379, allocations: 0.8078 MB / 0.5196 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.138, allocations: 3.938 kB / 0.5196 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003944/0.1384, allocations: 47.7 kB / 0.5196 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.1387, allocations: 63.69 kB / 0.5197 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.1391, allocations: 99.75 kB / 0.5198 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.1394, allocations: 151.5 kB / 0.5199 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1395, allocations: 17.67 kB / 0.52 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.1397, allocations: 59.72 kB / 0.52 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.1398, allocations: 47.77 kB / 0.5201 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.1398, allocations: 8 kB / 0.5201 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.14, allocations: 47.92 kB / 0.5201 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.14, allocations: 31.84 kB / 0.5201 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.215e-05/0.1401, allocations: 47.73 kB / 0.5202 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.1404, allocations: 143.4 kB / 0.5203 GB, free: 3.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1404, allocations: 0 / 0.5203 GB, free: 3.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1404, allocations: 0 / 0.5203 GB, free: 3.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1404, allocations: 4 kB / 0.5203 GB, free: 3.648 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.000727/0.1412, allocations: 407 kB / 0.5207 GB, free: 3.215 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.1412, allocations: 8.031 kB / 0.5207 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.702e-05/0.1412, allocations: 4.188 kB / 0.5207 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.1413, allocations: 38.73 kB / 0.5208 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.1413, allocations: 16.84 kB / 0.5208 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.1417, allocations: 171.2 kB / 0.521 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1417, allocations: 12.12 kB / 0.521 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.1417, allocations: 7.953 kB / 0.521 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.142, allocations: 137.9 kB / 0.5211 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.142, allocations: 0 / 0.5211 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.142, allocations: 0 / 0.5211 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.142, allocations: 4 kB / 0.5211 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1422, allocations: 55.91 kB / 0.5212 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006579/0.1429, allocations: 476.1 kB / 0.5216 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.1432, allocations: 86.59 kB / 0.5217 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.1433, allocations: 32.84 kB / 0.5217 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.1433, allocations: 0 / 0.5217 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.1436, allocations: 117 kB / 0.5218 GB, free: 1.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1436, allocations: 0 / 0.5218 GB, free: 1.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004299/0.144, allocations: 153.4 kB / 0.522 GB, free: 1.781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1441, allocations: 55.41 kB / 0.522 GB, free: 1.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.1443, allocations: 183.6 kB / 0.5222 GB, free: 1.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.1443, allocations: 29.7 kB / 0.5222 GB, free: 1.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.1444, allocations: 116.1 kB / 0.5224 GB, free: 1.371 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.1444, allocations: 27.75 kB / 0.5224 GB, free: 1.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.1445, allocations: 33.7 kB / 0.5224 GB, free: 1.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1446, allocations: 326.8 kB / 0.5227 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.1448, allocations: 31.98 kB / 0.5228 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.1449, allocations: 60.27 kB / 0.5228 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.1451, allocations: 104.5 kB / 0.5229 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1451, allocations: 3.938 kB / 0.5229 GB, free: 0.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003074/0.1454, allocations: 149.4 kB / 0.5231 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1454, allocations: 4 kB / 0.5231 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1454, allocations: 0 / 0.5231 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.1454, allocations: 7.938 kB / 0.5231 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1455, allocations: 19.98 kB / 0.5231 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.1455, allocations: 4 kB / 0.5231 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.346e-05/0.1456, allocations: 11.89 kB / 0.5231 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.1456, allocations: 11.98 kB / 0.5231 GB, free: 0.5391 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.0001517/0.1458, allocations: 121.8 kB / 0.5232 GB, free: 420 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.1458, allocations: 27.98 kB / 0.5233 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000326/0.1461, allocations: 134.9 kB / 0.5234 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1462, allocations: 0 / 0.5234 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1462, allocations: 4 kB / 0.5234 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1462, allocations: 3.984 kB / 0.5234 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.1464, allocations: 176.7 kB / 0.5236 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1464, allocations: 0 / 0.5236 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.931e-05/0.1464, allocations: 8 kB / 0.5236 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.1464, allocations: 4 kB / 0.5236 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.1465, allocations: 8.188 kB / 0.5236 GB, free: 16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.1465, allocations: 3.938 kB / 0.5236 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1465, allocations: 0 / 0.5236 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.1469, allocations: 201 kB / 0.5238 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/0.1469, allocations: 12.06 kB / 0.5238 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.147, allocations: 8 kB / 0.5238 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.459e-05/0.147, allocations: 7.938 kB / 0.5238 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.1471, allocations: 3.984 kB / 0.5238 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.1471, allocations: 11.98 kB / 0.5238 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.1472, allocations: 145.2 kB / 0.524 GB, free: 15.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1472, allocations: 0 / 0.524 GB, free: 15.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002472/0.1475, allocations: 35.86 kB / 0.524 GB, free: 15.56 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.002332/0.1498, allocations: 1.056 MB / 0.525 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.1501, allocations: 83.89 kB / 0.5251 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1501, allocations: 4.25 kB / 0.5251 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1502, allocations: 31.92 kB / 0.5251 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1506, allocations: 48.92 kB / 0.5252 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.1529, allocations: 1.737 MB / 0.5269 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.153, allocations: 110.6 kB / 0.527 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.883e-05/0.1531, allocations: 17.08 kB / 0.527 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.1532, allocations: 39.8 kB / 0.527 GB, free: 12.34 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1532, allocations: 0 / 0.527 GB, free: 12.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.1806, allocations: 4.177 MB / 0.5311 GB, free: 8.047 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.57, allocations: 15.92 kB / 0.5311 GB, free: 8.031 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.510424153064378]