Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.00126/0.00126, 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.001368/0.001368, allocations: 211 kB / 23.78 MB, free: 4.527 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.433/1.433, 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.2338/0.2338, allocations: 44.27 MB / 331.1 MB, free: 9.305 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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",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.002201/0.002201, allocations: 72.5 kB / 468.3 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1273, allocations: 61.04 MB / 0.517 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003579/0.1309, allocations: 1.891 MB / 0.5188 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1328, allocations: 0.9404 MB / 0.5197 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.133, allocations: 4 kB / 0.5197 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008941/0.1339, allocations: 207.4 kB / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.1343, allocations: 151.5 kB / 0.5201 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.135, allocations: 203.5 kB / 0.5203 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.1354, allocations: 247.3 kB / 0.5205 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.1356, allocations: 22.06 kB / 0.5205 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001933/0.1358, allocations: 111.5 kB / 0.5206 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.136, allocations: 119.5 kB / 0.5207 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.136, allocations: 12 kB / 0.5208 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.1362, allocations: 55.91 kB / 0.5208 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1363, allocations: 55.83 kB / 0.5209 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.1365, allocations: 63.59 kB / 0.5209 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004681/0.1369, allocations: 242.9 kB / 0.5212 GB, free: 2.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1369, allocations: 0 / 0.5212 GB, free: 2.805 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1369, allocations: 3.938 kB / 0.5212 GB, free: 2.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1369, allocations: 0 / 0.5212 GB, free: 2.801 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009726/0.1379, allocations: 490.5 kB / 0.5216 GB, free: 2.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.138, allocations: 8.031 kB / 0.5216 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.922e-05/0.138, allocations: 4.188 kB / 0.5216 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.86e-05/0.138, allocations: 42.67 kB / 0.5217 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.454e-05/0.1381, allocations: 24.8 kB / 0.5217 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.1385, allocations: 225.5 kB / 0.5219 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1385, allocations: 8.125 kB / 0.5219 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1385, allocations: 4 kB / 0.5219 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.1388, allocations: 129.9 kB / 0.5221 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.1388, allocations: 3.938 kB / 0.5221 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1388, allocations: 7.984 kB / 0.5221 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1388, allocations: 0 / 0.5221 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.139, allocations: 43.97 kB / 0.5221 GB, free: 1.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.1395, allocations: 328.8 kB / 0.5224 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.1399, allocations: 121.2 kB / 0.5225 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.14, allocations: 45.69 kB / 0.5226 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.14, allocations: 4 kB / 0.5226 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/0.1403, allocations: 124.9 kB / 0.5227 GB, free: 1.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.1403, allocations: 0 / 0.5227 GB, free: 1.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005695/0.1409, allocations: 189.9 kB / 0.5229 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.105e-05/0.141, allocations: 106.8 kB / 0.523 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.1414, allocations: 340.2 kB / 0.5233 GB, free: 392 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.1414, allocations: 33.7 kB / 0.5233 GB, free: 352 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.1416, allocations: 140.2 kB / 0.5235 GB, free: 208 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.1416, allocations: 35.73 kB / 0.5235 GB, free: 172 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.1417, allocations: 29.72 kB / 0.5235 GB, free: 136 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1418, allocations: 330.8 kB / 0.5239 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.971e-05/0.1419, allocations: 35.98 kB / 0.5239 GB, free: 15.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.1421, allocations: 132.6 kB / 0.524 GB, free: 15.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.1423, allocations: 107.4 kB / 0.5241 GB, free: 15.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1423, allocations: 0 / 0.5241 GB, free: 15.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003089/0.1426, allocations: 149.4 kB / 0.5243 GB, free: 15.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1426, allocations: 8 kB / 0.5243 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1426, allocations: 0 / 0.5243 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.1427, allocations: 4 kB / 0.5243 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.1428, allocations: 23.98 kB / 0.5243 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1428, allocations: 4.062 kB / 0.5243 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.924e-05/0.1429, allocations: 23.81 kB / 0.5243 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.1429, allocations: 4 kB / 0.5243 GB, free: 15.27 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001642/0.1431, allocations: 149.8 kB / 0.5245 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.1431, allocations: 27.8 kB / 0.5245 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004223/0.1435, allocations: 171.5 kB / 0.5247 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1435, allocations: 0 / 0.5247 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.1436, allocations: 11.98 kB / 0.5247 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1436, allocations: 7.938 kB / 0.5247 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.1438, allocations: 212.6 kB / 0.5249 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1438, allocations: 0 / 0.5249 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.1439, allocations: 8 kB / 0.5249 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.1439, allocations: 4 kB / 0.5249 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1439, allocations: 3.984 kB / 0.5249 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1439, allocations: 0 / 0.5249 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1439, allocations: 4 kB / 0.5249 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.1443, allocations: 205.6 kB / 0.5251 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.1443, allocations: 19.86 kB / 0.5251 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/0.1443, allocations: 8 kB / 0.5251 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.1444, allocations: 11.98 kB / 0.5251 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.1445, allocations: 15.92 kB / 0.5252 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1445, allocations: 4 kB / 0.5252 GB, free: 14.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002782/0.1448, allocations: 255 kB / 0.5254 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1448, allocations: 0 / 0.5254 GB, free: 14.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.1451, allocations: 43.89 kB / 0.5254 GB, free: 14.05 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.00226/0.1473, allocations: 1.064 MB / 0.5265 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.1476, allocations: 99.89 kB / 0.5266 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1476, allocations: 0 / 0.5266 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.1478, allocations: 55.89 kB / 0.5266 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.1482, allocations: 73.12 kB / 0.5267 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.1513, allocations: 2.309 MB / 0.529 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.1515, allocations: 140.3 kB / 0.5291 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.1516, allocations: 30.47 kB / 0.5291 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.1517, allocations: 75.34 kB / 0.5292 GB, free: 10.1 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1517, allocations: 4 kB / 0.5292 GB, free: 10.1 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02715/0.1789, allocations: 6.198 MB / 0.5352 GB, free: 3.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.14, allocations: 15.92 kB / 0.5353 GB, free: 3.758 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.473823804990388]