Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.001752/0.001752, 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.002285/0.002285, allocations: 226.9 kB / 23.01 MB, free: 5.035 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.467/1.467, allocations: 207.6 MB / 233.8 MB, free: 9.984 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.2362/0.2362, allocations: 44.24 MB / 330.3 MB, free: 9.602 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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.002128/0.002128, allocations: 67.91 kB / 467.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1314, allocations: 61.05 MB / 0.5162 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.004371/0.1358, allocations: 1.719 MB / 0.5179 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.1377, allocations: 0.8351 MB / 0.5187 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.373e-05/0.1378, allocations: 0 / 0.5187 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003658/0.1381, allocations: 51.75 kB / 0.5188 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.1384, allocations: 67.69 kB / 0.5188 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.1387, allocations: 83.77 kB / 0.5189 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.139, allocations: 99.69 kB / 0.519 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.617e-05/0.1391, allocations: 8.219 kB / 0.519 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.1392, allocations: 43.78 kB / 0.519 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1393, allocations: 31.84 kB / 0.5191 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.1393, allocations: 7.938 kB / 0.5191 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.1395, allocations: 47.97 kB / 0.5191 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.558e-05/0.1395, allocations: 27.86 kB / 0.5192 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.1396, allocations: 39.69 kB / 0.5192 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.1399, allocations: 131.4 kB / 0.5193 GB, free: 4.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1399, allocations: 4 kB / 0.5193 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1399, allocations: 0 / 0.5193 GB, free: 4.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1399, allocations: 0 / 0.5193 GB, free: 4.055 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.0007265/0.1406, allocations: 373.3 kB / 0.5197 GB, free: 3.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1407, allocations: 12.02 kB / 0.5197 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.643e-05/0.1407, allocations: 38.75 kB / 0.5197 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.925e-05/0.1408, allocations: 12.84 kB / 0.5197 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.1411, allocations: 163.2 kB / 0.5199 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1412, allocations: 384 / 0.5199 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.1412, allocations: 7.938 kB / 0.5199 GB, free: 3.395 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.1414, allocations: 53.67 kB / 0.52 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.1414, allocations: 0 / 0.52 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1414, allocations: 0 / 0.52 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1414, allocations: 0 / 0.52 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1415, allocations: 27.92 kB / 0.52 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.1421, allocations: 275.9 kB / 0.5202 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.1423, allocations: 54.67 kB / 0.5203 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.456e-05/0.1424, allocations: 16.86 kB / 0.5203 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1424, allocations: 0 / 0.5203 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.1426, allocations: 75.33 kB / 0.5204 GB, free: 2.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.1426, allocations: 0 / 0.5204 GB, free: 2.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007258/0.1433, allocations: 189.2 kB / 0.5206 GB, free: 2.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.1434, allocations: 51.41 kB / 0.5206 GB, free: 2.574 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.1438, allocations: 279.7 kB / 0.5209 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1438, allocations: 25.7 kB / 0.5209 GB, free: 2.258 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.1439, allocations: 120.1 kB / 0.521 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.144, allocations: 19.86 kB / 0.521 GB, free: 2.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.144, allocations: 25.7 kB / 0.5211 GB, free: 2.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.1442, allocations: 330.8 kB / 0.5214 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1443, allocations: 23.98 kB / 0.5214 GB, free: 1.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.1444, allocations: 33.7 kB / 0.5214 GB, free: 1.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.1446, allocations: 61.66 kB / 0.5215 GB, free: 1.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1446, allocations: 0 / 0.5215 GB, free: 1.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002934/0.1449, allocations: 109.6 kB / 0.5216 GB, free: 1.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.1449, allocations: 7.938 kB / 0.5216 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1449, allocations: 3.938 kB / 0.5216 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1449, allocations: 0 / 0.5216 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1451, allocations: 19.98 kB / 0.5216 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1451, allocations: 0 / 0.5216 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.1451, allocations: 7.891 kB / 0.5216 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1452, allocations: 8.031 kB / 0.5216 GB, free: 1.465 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.0001609/0.1453, allocations: 133.8 kB / 0.5218 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.1454, allocations: 15.91 kB / 0.5218 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.1457, allocations: 127.1 kB / 0.5219 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.1457, allocations: 3.984 kB / 0.5219 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1457, allocations: 0 / 0.5219 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.1457, allocations: 7.938 kB / 0.5219 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.1463, allocations: 378.4 kB / 0.5223 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1463, allocations: 0 / 0.5223 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.1464, allocations: 8 kB / 0.5223 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.1464, allocations: 3.938 kB / 0.5223 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1464, allocations: 4 kB / 0.5223 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.1464, allocations: 3.984 kB / 0.5223 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1464, allocations: 0 / 0.5223 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.1467, allocations: 208.3 kB / 0.5225 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.1468, allocations: 15.91 kB / 0.5225 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.1468, allocations: 3.938 kB / 0.5225 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1469, allocations: 4 kB / 0.5225 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1469, allocations: 7.984 kB / 0.5225 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.147, allocations: 4.375 kB / 0.5225 GB, free: 476 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002723/0.1472, allocations: 209.4 kB / 0.5227 GB, free: 268 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1472, allocations: 0 / 0.5227 GB, free: 268 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004117/0.1476, allocations: 28 kB / 0.5228 GB, free: 240 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.002909/0.1505, allocations: 1.112 MB / 0.5238 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1508, allocations: 51.97 kB / 0.5239 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1508, allocations: 3.938 kB / 0.5239 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.661e-05/0.1509, allocations: 23.98 kB / 0.5239 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.1514, allocations: 27.97 kB / 0.5239 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.1544, allocations: 1.832 MB / 0.5257 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.1548, allocations: 0.7196 MB / 0.5264 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.453e-05/0.1549, allocations: 16.97 kB / 0.5265 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.155, allocations: 39.42 kB / 0.5265 GB, free: 12.31 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.155, allocations: 0 / 0.5265 GB, free: 12.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/0.1876, allocations: 3.962 MB / 0.5304 GB, free: 8.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.19, allocations: 12.86 kB / 0.5304 GB, free: 8.246 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.430565907154232]