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.00145/0.00145, allocations: 105.3 kB / 17.03 MB, free: 6.129 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.001685/0.001685, allocations: 194.9 kB / 17.96 MB, free: 5.215 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.435/1.435, allocations: 205.1 MB / 223.8 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.253/0.253, allocations: 43.52 MB / 314.7 MB, free: 480 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.001485/0.001486, allocations: 72.11 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09511, allocations: 57.8 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.002794/0.09793, allocations: 2.235 MB / 444.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.09927, allocations: 0.7721 MB / 445 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.09941, allocations: 7.938 kB / 445 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.09963, allocations: 31.66 kB / 445 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001243/0.09977, allocations: 71.41 kB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.1001, allocations: 135.7 kB / 445.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.1004, allocations: 335.2 kB / 445.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1006, allocations: 85.97 kB / 445.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.1008, allocations: 147.5 kB / 445.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.101, allocations: 151.5 kB / 445.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.758e-05/0.101, allocations: 28 kB / 445.9 MB, free: 2.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1011, allocations: 79.94 kB / 446 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.1012, allocations: 63.75 kB / 446.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1013, allocations: 139.3 kB / 446.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.1016, allocations: 342.9 kB / 446.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1016, allocations: 0 / 446.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1016, allocations: 0 / 446.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1016, allocations: 0 / 446.5 MB, free: 1.523 MB / 318.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.0007617/0.1024, allocations: 0.5498 MB / 447.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1024, allocations: 11.89 kB / 447.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.228e-05/0.1025, allocations: 24.66 kB / 447.1 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.1028, allocations: 256.7 kB / 447.4 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.1028, allocations: 16.81 kB / 447.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.1029, allocations: 24.28 kB / 447.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004288/0.1033, allocations: 267.5 kB / 447.7 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1033, allocations: 0 / 447.7 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.1034, allocations: 12 kB / 447.7 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.1034, allocations: 4 kB / 447.7 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.1038, allocations: 233.6 kB / 447.9 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.105, allocations: 0.7285 MB / 448.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.1055, allocations: 242.4 kB / 448.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.1058, allocations: 136.8 kB / 449 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.1058, allocations: 4 kB / 449 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1059, allocations: 42.55 kB / 449.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.393e-06/0.1059, allocations: 3.938 kB / 449.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.002853/0.1087, allocations: 1.444 MB / 450.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.1088, allocations: 59.34 kB / 450.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.109, allocations: 198.6 kB / 450.8 MB, free: 13 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.109, allocations: 33.7 kB / 450.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.1091, allocations: 136.6 kB / 450.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.602e-05/0.1092, allocations: 114.5 kB / 451.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1093, allocations: 65.69 kB / 451.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1094, allocations: 338.8 kB / 451.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002487/0.1097, allocations: 123.7 kB / 451.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.11, allocations: 163.4 kB / 451.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.1104, allocations: 259.2 kB / 452 MB, free: 11.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1104, allocations: 4 kB / 452 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007695/0.1112, allocations: 433.7 kB / 452.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.1112, allocations: 7.938 kB / 452.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1112, allocations: 0 / 452.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004868/0.1117, allocations: 240.7 kB / 452.7 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.112, allocations: 47.97 kB / 452.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007143/0.1127, allocations: 0.7621 MB / 453.5 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.1129, allocations: 31.95 kB / 453.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.113, allocations: 16 kB / 453.5 MB, free: 10.18 MB / 334.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.0001498/0.1131, allocations: 146.3 kB / 453.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.1132, allocations: 27.72 kB / 453.7 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.362e-05/0.1133, allocations: 38.58 kB / 453.7 MB, free: 9.965 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.1133, allocations: 3.984 kB / 453.7 MB, free: 9.961 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1133, allocations: 4 kB / 453.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1133, allocations: 0 / 453.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.1148, allocations: 0.9595 MB / 454.7 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1148, allocations: 0 / 454.7 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.1151, allocations: 47.91 kB / 454.7 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003962/0.1155, allocations: 220.7 kB / 454.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.629e-05/0.1155, allocations: 4 kB / 454.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006245/0.1161, allocations: 0.7124 MB / 455.7 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1162, allocations: 0 / 455.7 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.1172, allocations: 0.6458 MB / 456.3 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.1174, allocations: 124.8 kB / 456.4 MB, free: 7.113 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.1174, allocations: 11.94 kB / 456.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.1177, allocations: 31.95 kB / 456.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.1178, allocations: 43.94 kB / 456.5 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.1178, allocations: 16.05 kB / 456.5 MB, free: 7.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.118, allocations: 148.3 kB / 456.7 MB, free: 6.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.118, allocations: 4 kB / 456.7 MB, free: 6.863 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000351/0.1183, allocations: 76 kB / 456.8 MB, free: 6.789 MB / 334.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.0001923/0.1185, allocations: 131.2 kB / 456.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007004/0.1192, allocations: 327.6 kB / 457.2 MB, free: 6.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1193, allocations: 0 / 457.2 MB, free: 6.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.1196, allocations: 164 kB / 457.4 MB, free: 6.172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.12, allocations: 40.11 kB / 457.4 MB, free: 6.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.1217, allocations: 0.7352 MB / 458.1 MB, free: 5.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.122, allocations: 0.7524 MB / 458.9 MB, free: 4.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.954e-05/0.1221, allocations: 22.3 kB / 458.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.1222, allocations: 31.42 kB / 458.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1222, allocations: 3.938 kB / 458.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of Templates: time 0.008469/0.1307, allocations: 5.079 MB / 464 MB, free: 15.47 MB / 350.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 -s gbode -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