Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.001365/0.001365, allocations: 110.2 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.002552/0.002552, allocations: 223.3 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.423/1.423, 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.2119/0.2119, allocations: 44.24 MB / 330.3 MB, free: 9.516 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.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64",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.002283/0.002283, allocations: 75.91 kB / 467.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1116, allocations: 61.04 MB / 0.5162 GB, free: 7.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003051/0.1147, allocations: 1.672 MB / 0.5178 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.116, allocations: 0.8195 MB / 0.5186 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.1161, allocations: 4 kB / 0.5186 GB, free: 4.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.1164, allocations: 51.75 kB / 0.5187 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1166, allocations: 59.75 kB / 0.5188 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1168, allocations: 75.78 kB / 0.5188 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.117, allocations: 91.69 kB / 0.5189 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.117, allocations: 12.27 kB / 0.5189 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1171, allocations: 43.78 kB / 0.519 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.065e-05/0.1172, allocations: 35.78 kB / 0.519 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1172, allocations: 0 / 0.519 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.33e-05/0.1173, allocations: 31.98 kB / 0.519 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.1174, allocations: 23.92 kB / 0.5191 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.1174, allocations: 39.69 kB / 0.5191 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.1176, allocations: 119.4 kB / 0.5192 GB, free: 4.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1176, allocations: 4 kB / 0.5192 GB, free: 4.168 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1176, allocations: 0 / 0.5192 GB, free: 4.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.1176, allocations: 0 / 0.5192 GB, free: 4.168 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005411/0.1182, allocations: 357.5 kB / 0.5196 GB, free: 3.789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1182, allocations: 8.031 kB / 0.5196 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.1183, allocations: 34.73 kB / 0.5196 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.1183, allocations: 16.84 kB / 0.5196 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.1186, allocations: 161.9 kB / 0.5198 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1186, allocations: 4.375 kB / 0.5198 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1186, allocations: 11.94 kB / 0.5198 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.1187, allocations: 45.67 kB / 0.5198 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.1188, allocations: 0 / 0.5198 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1188, allocations: 0 / 0.5198 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1188, allocations: 4 kB / 0.5198 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/0.1188, allocations: 19.92 kB / 0.5198 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001984/0.119, allocations: 156.8 kB / 0.52 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1192, allocations: 58.55 kB / 0.5201 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.1193, allocations: 20.8 kB / 0.5201 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1193, allocations: 0 / 0.5201 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.1194, allocations: 67.33 kB / 0.5201 GB, free: 3.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.1194, allocations: 0 / 0.5201 GB, free: 3.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002759/0.1197, allocations: 101.6 kB / 0.5202 GB, free: 2.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1198, allocations: 63.34 kB / 0.5203 GB, free: 2.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.12, allocations: 259.5 kB / 0.5205 GB, free: 2.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.12, allocations: 25.7 kB / 0.5206 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1201, allocations: 112.1 kB / 0.5207 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1202, allocations: 11.94 kB / 0.5207 GB, free: 2.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.1202, allocations: 17.72 kB / 0.5207 GB, free: 2.457 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1203, allocations: 330.8 kB / 0.521 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.202e-05/0.1204, allocations: 16 kB / 0.521 GB, free: 2.109 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.882e-05/0.1205, allocations: 29.7 kB / 0.5211 GB, free: 2.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.941e-05/0.1206, allocations: 45.64 kB / 0.5211 GB, free: 2.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.1206, allocations: 3.938 kB / 0.5211 GB, free: 2.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001635/0.1207, allocations: 85.53 kB / 0.5212 GB, free: 1.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1207, allocations: 4 kB / 0.5212 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1207, allocations: 0 / 0.5212 GB, free: 1.926 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1208, allocations: 8.031 kB / 0.5212 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.1208, allocations: 12 kB / 0.5212 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.1208, allocations: 160 / 0.5212 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.449e-05/0.1209, allocations: 15.88 kB / 0.5212 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1209, allocations: 0 / 0.5212 GB, free: 1.891 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 (7): * Single equations (assignments): 7 * 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.0001129/0.121, allocations: 133.8 kB / 0.5214 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.121, allocations: 19.91 kB / 0.5214 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002011/0.1212, allocations: 94.69 kB / 0.5215 GB, free: 1.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1212, allocations: 7.984 kB / 0.5215 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1212, allocations: 0 / 0.5215 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1212, allocations: 384 / 0.5215 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1214, allocations: 168.6 kB / 0.5216 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1214, allocations: 4 kB / 0.5216 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.1214, allocations: 4 kB / 0.5216 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.1214, allocations: 3.984 kB / 0.5216 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.1214, allocations: 4 kB / 0.5216 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1214, allocations: 0 / 0.5216 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1214, allocations: 3.938 kB / 0.5216 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.1216, allocations: 120.9 kB / 0.5218 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.318e-05/0.1217, allocations: 11.91 kB / 0.5218 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.1217, allocations: 4 kB / 0.5218 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.821e-05/0.1217, allocations: 4 kB / 0.5218 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.1218, allocations: 3.984 kB / 0.5218 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.1218, allocations: 4 kB / 0.5218 GB, free: 1.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.1219, allocations: 191.3 kB / 0.522 GB, free: 1.047 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1219, allocations: 4 kB / 0.522 GB, free: 1.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.1222, allocations: 20 kB / 0.522 GB, free: 1.023 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001882/0.124, allocations: 0.9429 MB / 0.5229 GB, free: 104 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.1242, allocations: 47.91 kB / 0.523 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1242, allocations: 4.062 kB / 0.523 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.677e-05/0.1243, allocations: 16 kB / 0.523 GB, free: 36 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.1245, allocations: 23.97 kB / 0.523 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.1264, allocations: 1.665 MB / 0.5246 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1267, allocations: 0.708 MB / 0.5253 GB, free: 13.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.9e-05/0.1267, allocations: 16.48 kB / 0.5253 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.1268, allocations: 39.42 kB / 0.5254 GB, free: 13.46 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1268, allocations: 0 / 0.5254 GB, free: 13.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02928/0.1561, allocations: 3.583 MB / 0.5289 GB, free: 9.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.2, allocations: 11.95 kB / 0.5289 GB, free: 9.777 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.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.272509359987453]