Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.001384/0.001384, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.001528/0.001528, allocations: 226.6 kB / 23.01 MB, free: 5.039 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.417/1.417, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2144/0.2144, allocations: 44.24 MB / 330.3 MB, free: 9.598 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.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4",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.002222/0.002222, allocations: 71.91 kB / 467.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1283, allocations: 61.05 MB / 0.5162 GB, free: 7.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003159/0.1314, allocations: 1.715 MB / 0.5179 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1328, allocations: 0.8312 MB / 0.5187 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.1329, allocations: 0 / 0.5187 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.1332, allocations: 87.69 kB / 0.5188 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.1335, allocations: 67.73 kB / 0.5188 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.1337, allocations: 91.75 kB / 0.5189 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.1339, allocations: 111.7 kB / 0.519 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.134, allocations: 8.219 kB / 0.519 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1341, allocations: 63.7 kB / 0.5191 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.1342, allocations: 55.81 kB / 0.5192 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1342, allocations: 4 kB / 0.5192 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.422e-05/0.1343, allocations: 51.91 kB / 0.5192 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.1344, allocations: 23.86 kB / 0.5192 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.1344, allocations: 31.75 kB / 0.5193 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1346, allocations: 115.5 kB / 0.5194 GB, free: 4.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1347, allocations: 0 / 0.5194 GB, free: 4.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1347, allocations: 4 kB / 0.5194 GB, free: 4.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1347, allocations: 4 kB / 0.5194 GB, free: 4 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005399/0.1352, allocations: 345.6 kB / 0.5197 GB, free: 3.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1352, allocations: 8.031 kB / 0.5197 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.2e-05/0.1353, allocations: 34.73 kB / 0.5198 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.1353, allocations: 16.83 kB / 0.5198 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1356, allocations: 155.3 kB / 0.5199 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1356, allocations: 4.375 kB / 0.5199 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.1356, allocations: 3.938 kB / 0.5199 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1358, allocations: 61.61 kB / 0.52 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1358, allocations: 4 kB / 0.52 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1358, allocations: 0 / 0.52 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.566e-06/0.1358, allocations: 0 / 0.52 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.668e-05/0.1359, allocations: 19.98 kB / 0.52 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.1362, allocations: 263.9 kB / 0.5203 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.1364, allocations: 62.61 kB / 0.5203 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.094e-05/0.1364, allocations: 16.86 kB / 0.5203 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1365, allocations: 3.984 kB / 0.5203 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.1366, allocations: 63.39 kB / 0.5204 GB, free: 2.824 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1366, allocations: 0 / 0.5204 GB, free: 2.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005379/0.1371, allocations: 181.3 kB / 0.5206 GB, free: 2.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.1372, allocations: 59.39 kB / 0.5206 GB, free: 2.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002111/0.1374, allocations: 214.2 kB / 0.5208 GB, free: 2.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.1374, allocations: 29.7 kB / 0.5209 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.1375, allocations: 104.1 kB / 0.521 GB, free: 2.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.1375, allocations: 23.8 kB / 0.521 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.1376, allocations: 29.7 kB / 0.521 GB, free: 2.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1377, allocations: 322.8 kB / 0.5213 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.099e-05/0.1378, allocations: 23.98 kB / 0.5213 GB, free: 1.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.607e-05/0.1378, allocations: 38.03 kB / 0.5214 GB, free: 1.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.138, allocations: 53.7 kB / 0.5214 GB, free: 1.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.138, allocations: 192 / 0.5214 GB, free: 1.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002017/0.1382, allocations: 113.5 kB / 0.5215 GB, free: 1.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1382, allocations: 7.938 kB / 0.5215 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1382, allocations: 0 / 0.5215 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.1382, allocations: 4.031 kB / 0.5215 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.1383, allocations: 16 kB / 0.5216 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1383, allocations: 0 / 0.5216 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.1383, allocations: 11.92 kB / 0.5216 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.1383, allocations: 4 kB / 0.5216 GB, free: 1.543 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 (10): * Single equations (assignments): 10 * 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.0001211/0.1385, allocations: 125.8 kB / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.1385, allocations: 15.88 kB / 0.5217 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.1387, allocations: 119 kB / 0.5218 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1387, allocations: 7.984 kB / 0.5218 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1387, allocations: 0 / 0.5218 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1387, allocations: 3.938 kB / 0.5218 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.1392, allocations: 362.4 kB / 0.5222 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.1392, allocations: 4 kB / 0.5222 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.1392, allocations: 4 kB / 0.5222 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1392, allocations: 7.938 kB / 0.5222 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1392, allocations: 3.938 kB / 0.5222 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1393, allocations: 4.031 kB / 0.5222 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1393, allocations: 4 kB / 0.5222 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/0.1395, allocations: 204.6 kB / 0.5224 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.1395, allocations: 7.953 kB / 0.5224 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1395, allocations: 3.938 kB / 0.5224 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.1396, allocations: 8 kB / 0.5224 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1396, allocations: 11.97 kB / 0.5224 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.1397, allocations: 4 kB / 0.5224 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.1398, allocations: 156.2 kB / 0.5226 GB, free: 424 kB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1398, allocations: 0 / 0.5226 GB, free: 424 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.14, allocations: 27.92 kB / 0.5226 GB, free: 396 kB / 398.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 (8): * Single equations (assignments): 6 * 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.002161/0.1422, allocations: 1.096 MB / 0.5237 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.1424, allocations: 63.89 kB / 0.5237 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1424, allocations: 4.062 kB / 0.5238 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.925e-05/0.1425, allocations: 23.94 kB / 0.5238 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1428, allocations: 35.91 kB / 0.5238 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.1448, allocations: 1.685 MB / 0.5255 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.1452, allocations: 0.7041 MB / 0.5261 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.429e-05/0.1452, allocations: 24.88 kB / 0.5262 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.1453, allocations: 35.42 kB / 0.5262 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1453, allocations: 4 kB / 0.5262 GB, free: 12.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.176, allocations: 3.667 MB / 0.5298 GB, free: 8.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.11, allocations: 0 / 0.5298 GB, free: 8.855 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test4.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.298979269806296]