Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.001837/0.001837, allocations: 109 kB / 20.48 MB, free: 1.492 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.00251/0.00251, allocations: 218.2 kB / 23.79 MB, free: 4.707 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.47/1.47, allocations: 207.6 MB / 234.5 MB, free: 9.996 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.2192/0.2192, allocations: 44.24 MB / 331.1 MB, free: 9.531 MB / 270.1 MB " [Timeout remaining time 180] 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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.002297/0.002297, allocations: 67.91 kB / 468.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1099, allocations: 61.05 MB / 0.517 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003583/0.1135, allocations: 1.713 MB / 0.5187 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.116, allocations: 1.51 MB / 0.5201 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.1161, allocations: 0 / 0.5201 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.1165, allocations: 47.77 kB / 0.5202 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002983/0.1168, allocations: 51.77 kB / 0.5202 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.1171, allocations: 91.75 kB / 0.5203 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002373/0.1173, allocations: 107.6 kB / 0.5204 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1174, allocations: 12.2 kB / 0.5204 GB, free: 3.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1176, allocations: 47.72 kB / 0.5205 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1177, allocations: 43.83 kB / 0.5205 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.1178, allocations: 4 kB / 0.5205 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/0.1179, allocations: 59.98 kB / 0.5206 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.118, allocations: 27.84 kB / 0.5206 GB, free: 3.531 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.1181, allocations: 35.75 kB / 0.5206 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.1184, allocations: 135.5 kB / 0.5208 GB, free: 3.363 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1184, allocations: 4 kB / 0.5208 GB, free: 3.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1184, allocations: 0 / 0.5208 GB, free: 3.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1184, allocations: 0 / 0.5208 GB, free: 3.359 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005936/0.119, allocations: 333.7 kB / 0.5211 GB, free: 3.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.119, allocations: 12.02 kB / 0.5211 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.336e-05/0.119, allocations: 192 / 0.5211 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.078e-05/0.1191, allocations: 38.73 kB / 0.5211 GB, free: 2.945 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.1191, allocations: 12.83 kB / 0.5211 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.1195, allocations: 166.5 kB / 0.5213 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1195, allocations: 0 / 0.5213 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.1195, allocations: 7.938 kB / 0.5213 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.1197, allocations: 67.39 kB / 0.5214 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1197, allocations: 0 / 0.5214 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1197, allocations: 4 kB / 0.5214 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1197, allocations: 4 kB / 0.5214 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.513e-05/0.1198, allocations: 27.91 kB / 0.5214 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004054/0.1202, allocations: 271.9 kB / 0.5217 GB, free: 2.316 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.1204, allocations: 62.69 kB / 0.5217 GB, free: 2.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.28e-05/0.1205, allocations: 24.84 kB / 0.5218 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1205, allocations: 0 / 0.5218 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.1207, allocations: 83.3 kB / 0.5218 GB, free: 2.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.1207, allocations: 4 kB / 0.5218 GB, free: 2.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006668/0.1214, allocations: 197.3 kB / 0.522 GB, free: 1.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1215, allocations: 77.11 kB / 0.5221 GB, free: 1.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.1217, allocations: 158.4 kB / 0.5222 GB, free: 1.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.1217, allocations: 25.7 kB / 0.5223 GB, free: 1.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.1218, allocations: 100.1 kB / 0.5224 GB, free: 1.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/0.1219, allocations: 27.92 kB / 0.5224 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.787e-05/0.1219, allocations: 29.7 kB / 0.5224 GB, free: 1.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.1221, allocations: 322.8 kB / 0.5227 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/0.1222, allocations: 20 kB / 0.5227 GB, free: 1.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.505e-05/0.1223, allocations: 54.64 kB / 0.5228 GB, free: 1.059 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.1225, allocations: 65.59 kB / 0.5229 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1225, allocations: 4.031 kB / 0.5229 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002695/0.1227, allocations: 121.5 kB / 0.523 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.1228, allocations: 7.938 kB / 0.523 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1228, allocations: 0 / 0.523 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1228, allocations: 0 / 0.523 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1229, allocations: 23.92 kB / 0.523 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1229, allocations: 3.938 kB / 0.523 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.398e-05/0.123, allocations: 7.938 kB / 0.523 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.123, allocations: 8 kB / 0.523 GB, free: 0.8086 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 (11): * Single equations (assignments): 11 * 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.0001495/0.1231, allocations: 121.9 kB / 0.5231 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.1232, allocations: 15.89 kB / 0.5232 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.1235, allocations: 126.3 kB / 0.5233 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1235, allocations: 0 / 0.5233 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.1235, allocations: 4 kB / 0.5233 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1235, allocations: 0 / 0.5233 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/0.1241, allocations: 394.3 kB / 0.5237 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1241, allocations: 0 / 0.5237 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.1242, allocations: 8 kB / 0.5237 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1242, allocations: 4 kB / 0.5237 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1242, allocations: 192 / 0.5237 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.1242, allocations: 0 / 0.5237 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1242, allocations: 7.938 kB / 0.5237 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.1245, allocations: 220.2 kB / 0.5239 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.1246, allocations: 11.95 kB / 0.5239 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.1246, allocations: 4 kB / 0.5239 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.1247, allocations: 7.984 kB / 0.5239 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.1247, allocations: 11.92 kB / 0.5239 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1247, allocations: 4 kB / 0.5239 GB, free: 15.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.1249, allocations: 123.9 kB / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1249, allocations: 0 / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003196/0.1252, allocations: 39.86 kB / 0.5241 GB, free: 15.64 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: 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 (9): * Single equations (assignments): 7 * 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.002526/0.1277, allocations: 1.144 MB / 0.5252 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.128, allocations: 67.91 kB / 0.5253 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.128, allocations: 0 / 0.5253 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.025e-05/0.1281, allocations: 27.92 kB / 0.5253 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.1285, allocations: 36.11 kB / 0.5253 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.1307, allocations: 1.617 MB / 0.5269 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.1311, allocations: 0.7002 MB / 0.5276 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.885e-05/0.1312, allocations: 28.88 kB / 0.5276 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.022e-05/0.1313, allocations: 35.42 kB / 0.5277 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1313, allocations: 0 / 0.5277 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.1574, allocations: 3.933 MB / 0.5315 GB, free: 7.832 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.64, allocations: 8 kB / 0.5315 GB, free: 7.824 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.957785095029976]