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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 115.2 kB / 17.08 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 195 kB / 18.01 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.212/0.212, allocations: 43.51 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 71.89 kB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.00351/0.116, allocations: 2.243 MB / 0.4907 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1175, allocations: 0.7683 MB / 0.4915 GB, free: 8.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1176, allocations: 4 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1178, allocations: 39.64 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001471/0.118, allocations: 67.42 kB / 0.4916 GB, free: 8.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.1185, allocations: 131.6 kB / 0.4917 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000383/0.1188, allocations: 339.2 kB / 0.492 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.119, allocations: 92.5 kB / 0.4921 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.1192, allocations: 143.5 kB / 0.4922 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.1195, allocations: 151.5 kB / 0.4924 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.272e-05/0.1195, allocations: 27.94 kB / 0.4924 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.1197, allocations: 87.88 kB / 0.4925 GB, free: 7.719 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.1198, allocations: 59.81 kB / 0.4926 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.1199, allocations: 131.4 kB / 0.4927 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.1203, allocations: 338.9 kB / 0.493 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1203, allocations: 0 / 0.493 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1203, allocations: 0 / 0.493 GB, free: 7.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1203, allocations: 8 kB / 0.493 GB, free: 7.191 MB / 382.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.0009118/0.1212, allocations: 0.5492 MB / 0.4935 GB, free: 6.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1213, allocations: 11.89 kB / 0.4936 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.1213, allocations: 24.66 kB / 0.4936 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.1217, allocations: 259.8 kB / 0.4938 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.1217, allocations: 20.81 kB / 0.4938 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.916e-05/0.1218, allocations: 20.28 kB / 0.4939 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.1223, allocations: 275.4 kB / 0.4941 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1223, allocations: 0 / 0.4941 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.1224, allocations: 12 kB / 0.4941 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.1224, allocations: 4 kB / 0.4941 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004636/0.1228, allocations: 233.6 kB / 0.4944 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.1241, allocations: 0.7284 MB / 0.4951 GB, free: 4.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005315/0.1247, allocations: 242.4 kB / 0.4953 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.1249, allocations: 148.8 kB / 0.4955 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.125, allocations: 4 kB / 0.4955 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.125, allocations: 34.56 kB / 0.4955 GB, free: 4.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.593e-06/0.125, allocations: 0 / 0.4955 GB, free: 4.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003132/0.1282, allocations: 1.457 MB / 0.4969 GB, free: 2.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1282, allocations: 55.41 kB / 0.497 GB, free: 2.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.1284, allocations: 198.6 kB / 0.4972 GB, free: 2.652 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.1285, allocations: 33.7 kB / 0.4972 GB, free: 2.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.33e-05/0.1286, allocations: 128.7 kB / 0.4973 GB, free: 2.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.143e-05/0.1287, allocations: 118.5 kB / 0.4974 GB, free: 2.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.1288, allocations: 65.69 kB / 0.4975 GB, free: 2.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1289, allocations: 338.8 kB / 0.4978 GB, free: 1.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.1292, allocations: 119.9 kB / 0.4979 GB, free: 1.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.1295, allocations: 167.2 kB / 0.4981 GB, free: 1.664 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.1299, allocations: 255.3 kB / 0.4983 GB, free: 1.402 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1299, allocations: 0 / 0.4983 GB, free: 1.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007767/0.1307, allocations: 437.7 kB / 0.4987 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.1307, allocations: 4 kB / 0.4987 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1308, allocations: 64 / 0.4987 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005314/0.1313, allocations: 248.7 kB / 0.499 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.1315, allocations: 51.91 kB / 0.499 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007931/0.1323, allocations: 0.7436 MB / 0.4998 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.1326, allocations: 35.98 kB / 0.4998 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.1327, allocations: 12 kB / 0.4998 GB, free: 15.85 MB / 398.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.0001838/0.1329, allocations: 159.2 kB / 0.5 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.202e-05/0.1329, allocations: 19.72 kB / 0.5 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.386e-05/0.133, allocations: 38.53 kB / 0.5 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1331, allocations: 4 kB / 0.5 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1331, allocations: 0 / 0.5 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1331, allocations: 3.984 kB / 0.5 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.1347, allocations: 0.9596 MB / 0.501 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1347, allocations: 0 / 0.501 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.135, allocations: 47.91 kB / 0.501 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004152/0.1354, allocations: 216.7 kB / 0.5012 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.1355, allocations: 15.98 kB / 0.5012 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006612/0.1361, allocations: 0.7085 MB / 0.5019 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.1361, allocations: 0 / 0.5019 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.1372, allocations: 0.6456 MB / 0.5025 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.1374, allocations: 128.8 kB / 0.5027 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/0.1375, allocations: 11.94 kB / 0.5027 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.1378, allocations: 31.95 kB / 0.5027 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.1379, allocations: 47.92 kB / 0.5028 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.1379, allocations: 16.06 kB / 0.5028 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.1381, allocations: 152.2 kB / 0.5029 GB, free: 12.51 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1381, allocations: 0 / 0.5029 GB, free: 12.51 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.1385, allocations: 72 kB / 0.503 GB, free: 12.44 MB / 398.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.0002165/0.1387, allocations: 123.2 kB / 0.5031 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007483/0.1395, allocations: 319.8 kB / 0.5034 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.1395, allocations: 4.125 kB / 0.5034 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003272/0.1398, allocations: 168 kB / 0.5036 GB, free: 11.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.1403, allocations: 27.98 kB / 0.5036 GB, free: 11.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.1422, allocations: 0.7813 MB / 0.5044 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1426, allocations: 0.7486 MB / 0.5051 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.1426, allocations: 31.42 kB / 0.5051 GB, free: 10.18 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.1426, allocations: 0 / 0.5051 GB, free: 10.18 MB / 398.1 MB Notification: Performance of Templates: time 0.007199/0.1499, allocations: 4.115 MB / 0.5091 GB, free: 6.062 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (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) 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) Reference file matches