Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.001487/0.001487, allocations: 105 kB / 20.44 MB, free: 1.504 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.001638/0.001638, allocations: 217.1 kB / 23.76 MB, free: 4.727 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.287/1.287, allocations: 207.6 MB / 234.5 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] 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.1967/0.1967, allocations: 44.24 MB / 331 MB, free: 9.508 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: translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [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.002125/0.002125, allocations: 71.89 kB / 468.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1047, allocations: 61.04 MB / 0.5174 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003595/0.1083, allocations: 2.276 MB / 0.5196 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1097, allocations: 0.7839 MB / 0.5203 GB, free: 3.758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.1098, allocations: 7.938 kB / 0.5203 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.11, allocations: 35.66 kB / 0.5204 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.1101, allocations: 67.41 kB / 0.5204 GB, free: 3.648 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.1106, allocations: 147.6 kB / 0.5206 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.111, allocations: 327.3 kB / 0.5209 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.1111, allocations: 60.73 kB / 0.521 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.1114, allocations: 159.5 kB / 0.5211 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.1116, allocations: 151.5 kB / 0.5213 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.909e-05/0.1117, allocations: 28 kB / 0.5213 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.1118, allocations: 75.95 kB / 0.5214 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.1119, allocations: 67.75 kB / 0.5214 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.112, allocations: 131.4 kB / 0.5215 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.1125, allocations: 346.7 kB / 0.5219 GB, free: 2.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1125, allocations: 4 kB / 0.5219 GB, free: 2.176 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1125, allocations: 0 / 0.5219 GB, free: 2.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.1125, allocations: 0 / 0.5219 GB, free: 2.176 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008864/0.1134, allocations: 489.5 kB / 0.5223 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.1134, allocations: 16.02 kB / 0.5224 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.1135, allocations: 28.8 kB / 0.5224 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.1138, allocations: 186.1 kB / 0.5226 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.1138, allocations: 16.81 kB / 0.5226 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.1139, allocations: 28.27 kB / 0.5226 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000499/0.1144, allocations: 263.5 kB / 0.5229 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1144, allocations: 4 kB / 0.5229 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.1144, allocations: 8 kB / 0.5229 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1144, allocations: 4 kB / 0.5229 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.1149, allocations: 245.6 kB / 0.5231 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.1162, allocations: 0.6848 MB / 0.5238 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/0.1168, allocations: 238.4 kB / 0.524 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002435/0.117, allocations: 132.7 kB / 0.5241 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.117, allocations: 3.984 kB / 0.5241 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.1171, allocations: 38.56 kB / 0.5242 GB, free: 15.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=25): time 1.303e-06/0.1171, allocations: 0 / 0.5242 GB, free: 15.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.002811/0.1199, allocations: 1.224 MB / 0.5254 GB, free: 14.42 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.1199, allocations: 55.41 kB / 0.5254 GB, free: 14.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.1201, allocations: 202.5 kB / 0.5256 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.1202, allocations: 33.7 kB / 0.5256 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.1203, allocations: 144.7 kB / 0.5258 GB, free: 13.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/0.1204, allocations: 111.1 kB / 0.5259 GB, free: 13.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.1205, allocations: 69.62 kB / 0.526 GB, free: 13.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1206, allocations: 334.8 kB / 0.5263 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.121, allocations: 123.9 kB / 0.5264 GB, free: 13.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.1212, allocations: 167.2 kB / 0.5266 GB, free: 13.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.1217, allocations: 255.1 kB / 0.5268 GB, free: 12.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1217, allocations: 4 kB / 0.5268 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007716/0.1225, allocations: 425.9 kB / 0.5272 GB, free: 12.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1225, allocations: 8.062 kB / 0.5272 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1225, allocations: 0 / 0.5272 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004676/0.123, allocations: 240.6 kB / 0.5274 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.1232, allocations: 47.97 kB / 0.5275 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007769/0.124, allocations: 0.7553 MB / 0.5282 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.1242, allocations: 40.05 kB / 0.5283 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.1243, allocations: 15.98 kB / 0.5283 GB, free: 11.32 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: 8 (bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.1244, allocations: 154 kB / 0.5284 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.1245, allocations: 19.86 kB / 0.5284 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.1246, allocations: 38.58 kB / 0.5285 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1246, allocations: 4 kB / 0.5285 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1246, allocations: 0 / 0.5285 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.1246, allocations: 11.92 kB / 0.5285 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.1261, allocations: 0.912 MB / 0.5294 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1262, allocations: 0 / 0.5294 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.1264, allocations: 51.91 kB / 0.5294 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003785/0.1267, allocations: 216.7 kB / 0.5296 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.477e-05/0.1268, allocations: 7.984 kB / 0.5297 GB, free: 9.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006495/0.1274, allocations: 0.7162 MB / 0.5304 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1274, allocations: 0 / 0.5304 GB, free: 9.105 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.1285, allocations: 0.6383 MB / 0.531 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1286, allocations: 51.78 kB / 0.531 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.1287, allocations: 11.94 kB / 0.531 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.1289, allocations: 40.02 kB / 0.5311 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.129, allocations: 51.89 kB / 0.5311 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.1291, allocations: 16.08 kB / 0.5311 GB, free: 8.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001272/0.1292, allocations: 155.9 kB / 0.5313 GB, free: 8.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1292, allocations: 0 / 0.5313 GB, free: 8.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003386/0.1295, allocations: 72 kB / 0.5314 GB, free: 8.055 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001796/0.1297, allocations: 127.1 kB / 0.5315 GB, free: 7.922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006733/0.1304, allocations: 300 kB / 0.5318 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1304, allocations: 0 / 0.5318 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.1307, allocations: 147.8 kB / 0.5319 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.131, allocations: 40.11 kB / 0.5319 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.1329, allocations: 0.7864 MB / 0.5327 GB, free: 6.617 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.1332, allocations: 0.7564 MB / 0.5334 GB, free: 5.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.465e-05/0.1333, allocations: 27.44 kB / 0.5335 GB, free: 5.809 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1333, allocations: 0 / 0.5335 GB, free: 5.809 MB / 414.1 MB Notification: Performance of Templates: time 0.006607/0.1399, allocations: 4.141 MB / 0.5375 GB, free: 1.668 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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: 7.683522052830085]