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.001066/0.001066, allocations: 101.5 kB / 17.08 MB, free: 5.988 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.001139/0.001139, allocations: 198.2 kB / 18.01 MB, free: 5.074 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.34/1.34, 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.2135/0.2135, allocations: 43.52 MB / 314.8 MB, free: 472 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.001365/0.001365, allocations: 75.89 kB / 442.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1125, allocations: 57.78 MB / 0.4885 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003773/0.1163, allocations: 2.242 MB / 0.4907 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001592/0.1179, allocations: 0.7722 MB / 0.4915 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.1181, allocations: 7.938 kB / 0.4915 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.1183, allocations: 31.66 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.1184, allocations: 71.41 kB / 0.4916 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.1188, allocations: 139.6 kB / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.1191, allocations: 327.3 kB / 0.492 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.1193, allocations: 92.5 kB / 0.4921 GB, free: 8.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.1195, allocations: 147.5 kB / 0.4923 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.1197, allocations: 159.4 kB / 0.4924 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.1198, allocations: 24 kB / 0.4924 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.12, allocations: 71.95 kB / 0.4925 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.1201, allocations: 67.8 kB / 0.4926 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.1202, allocations: 135.3 kB / 0.4927 GB, free: 7.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.1205, allocations: 338.9 kB / 0.493 GB, free: 7.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1206, allocations: 0 / 0.493 GB, free: 7.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1206, allocations: 0 / 0.493 GB, free: 7.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1206, allocations: 4 kB / 0.493 GB, free: 7.207 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.0008864/0.1215, allocations: 0.5498 MB / 0.4936 GB, free: 6.609 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1215, allocations: 11.89 kB / 0.4936 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.1216, allocations: 24.66 kB / 0.4936 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.1219, allocations: 255.8 kB / 0.4938 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.122, allocations: 16.81 kB / 0.4938 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.122, allocations: 28.28 kB / 0.4939 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004794/0.1225, allocations: 271.4 kB / 0.4941 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.1225, allocations: 0 / 0.4941 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.1226, allocations: 8 kB / 0.4941 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1226, allocations: 8 kB / 0.4941 GB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.123, allocations: 233.6 kB / 0.4944 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.1243, allocations: 0.7284 MB / 0.4951 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.1249, allocations: 246.4 kB / 0.4953 GB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002388/0.1251, allocations: 140.8 kB / 0.4955 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1252, allocations: 4 kB / 0.4955 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1252, allocations: 34.56 kB / 0.4955 GB, free: 4.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.423e-06/0.1252, allocations: 0 / 0.4955 GB, free: 4.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.002899/0.1281, allocations: 1.454 MB / 0.4969 GB, free: 2.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.1282, allocations: 55.41 kB / 0.497 GB, free: 2.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1283, allocations: 202.5 kB / 0.4972 GB, free: 2.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.1284, allocations: 33.7 kB / 0.4972 GB, free: 2.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.1285, allocations: 140.7 kB / 0.4973 GB, free: 2.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.298e-05/0.1286, allocations: 110.4 kB / 0.4974 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.1287, allocations: 65.7 kB / 0.4975 GB, free: 2.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1289, allocations: 330.8 kB / 0.4978 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.1291, allocations: 123.9 kB / 0.4979 GB, free: 1.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.1294, allocations: 171.2 kB / 0.4981 GB, free: 1.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.1299, allocations: 243.3 kB / 0.4983 GB, free: 1.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.1299, allocations: 7.938 kB / 0.4983 GB, free: 1.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007286/0.1306, allocations: 429.8 kB / 0.4987 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.1306, allocations: 8 kB / 0.4987 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1306, allocations: 0 / 0.4987 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004759/0.1311, allocations: 248.7 kB / 0.499 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.1314, allocations: 51.97 kB / 0.499 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007301/0.1321, allocations: 0.7474 MB / 0.4998 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.1323, allocations: 39.98 kB / 0.4998 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.1324, allocations: 11.98 kB / 0.4998 GB, free: 15.86 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.0001617/0.1326, allocations: 155.2 kB / 0.5 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.1326, allocations: 23.72 kB / 0.5 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.129e-05/0.1327, allocations: 38.59 kB / 0.5 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1327, allocations: 3.984 kB / 0.5 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1327, allocations: 0 / 0.5 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.1329, allocations: 128.8 kB / 0.5001 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.1329, allocations: 8 kB / 0.5002 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.1332, allocations: 39.95 kB / 0.5002 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.1333, allocations: 43.91 kB / 0.5002 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00101/0.1343, allocations: 0.4896 MB / 0.5007 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009023/0.1352, allocations: 0.6165 MB / 0.5013 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002808/0.1355, allocations: 123.9 kB / 0.5014 GB, free: 14.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.1356, allocations: 148.2 kB / 0.5016 GB, free: 14 MB / 398.1 MB Notification: Performance of Backend: time 2.81e-07/0.1356, allocations: 0 / 0.5016 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008532/0.1365, allocations: 321.4 kB / 0.5019 GB, free: 13.69 MB / 398.1 MB Notification: Performance of SimCode: time 0.001207/0.1377, allocations: 1.046 MB / 0.5029 GB, free: 12.59 MB / 398.1 MB Notification: Performance of Templates: time 0.009362/0.1471, allocations: 5.143 MB / 0.5079 GB, free: 7.457 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