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.001519/0.001519, allocations: 110 kB / 19.69 MB, free: 2.039 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.001652/0.001652, allocations: 223.8 kB / 23.01 MB, free: 4.949 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.455/1.455, allocations: 207.6 MB / 233.8 MB, free: 9.973 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.24/0.24, allocations: 44.23 MB / 330.3 MB, free: 9.512 MB / 270.1 MB " [Timeout remaining time 179] 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.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",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.002198/0.002198, allocations: 68.47 kB / 467.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1177, allocations: 61.04 MB / 0.5161 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003831/0.1215, allocations: 2.28 MB / 0.5184 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1233, allocations: 0.7722 MB / 0.5191 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.1235, allocations: 7.938 kB / 0.5191 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.1237, allocations: 43.64 kB / 0.5192 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.1239, allocations: 71.41 kB / 0.5192 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.1245, allocations: 139.6 kB / 0.5194 GB, free: 4.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.125, allocations: 335.3 kB / 0.5197 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.1252, allocations: 65 kB / 0.5197 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.1255, allocations: 147.5 kB / 0.5199 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.1258, allocations: 151.5 kB / 0.52 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.1259, allocations: 28 kB / 0.5201 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.1261, allocations: 75.95 kB / 0.5201 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.1262, allocations: 83.67 kB / 0.5202 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.1263, allocations: 127.4 kB / 0.5203 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.1268, allocations: 338.7 kB / 0.5207 GB, free: 2.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1268, allocations: 0 / 0.5207 GB, free: 2.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1268, allocations: 0 / 0.5207 GB, free: 2.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.1268, allocations: 0 / 0.5207 GB, free: 2.676 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.001017/0.1279, allocations: 0.4897 MB / 0.5211 GB, free: 2.156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1279, allocations: 12.03 kB / 0.5211 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.002e-05/0.128, allocations: 50.73 kB / 0.5212 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.619e-05/0.1281, allocations: 32.8 kB / 0.5212 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.1285, allocations: 190.1 kB / 0.5214 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.1285, allocations: 12.81 kB / 0.5214 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.377e-05/0.1285, allocations: 28.33 kB / 0.5214 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.1291, allocations: 271.3 kB / 0.5217 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.1291, allocations: 0 / 0.5217 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.1291, allocations: 12 kB / 0.5217 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1291, allocations: 4 kB / 0.5217 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004954/0.1296, allocations: 233.6 kB / 0.5219 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.131, allocations: 0.6848 MB / 0.5226 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005631/0.1315, allocations: 246.3 kB / 0.5228 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.1318, allocations: 124.8 kB / 0.523 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.1318, allocations: 4 kB / 0.523 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.1319, allocations: 38.56 kB / 0.523 GB, free: 136 kB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.1319, allocations: 0 / 0.523 GB, free: 136 kB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.003092/0.135, allocations: 1.224 MB / 0.5242 GB, free: 14.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.135, allocations: 59.41 kB / 0.5243 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.1352, allocations: 198.5 kB / 0.5244 GB, free: 14.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.1353, allocations: 37.7 kB / 0.5245 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1354, allocations: 136.8 kB / 0.5246 GB, free: 14.4 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.1355, allocations: 119 kB / 0.5247 GB, free: 14.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.1356, allocations: 65.69 kB / 0.5248 GB, free: 14.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.1358, allocations: 334.8 kB / 0.5251 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.136, allocations: 124 kB / 0.5252 GB, free: 13.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.1363, allocations: 175.2 kB / 0.5254 GB, free: 13.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.1367, allocations: 243.2 kB / 0.5256 GB, free: 13.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1367, allocations: 0 / 0.5256 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007971/0.1375, allocations: 433.9 kB / 0.526 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1376, allocations: 8 kB / 0.526 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1376, allocations: 0 / 0.526 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/0.1381, allocations: 236.7 kB / 0.5263 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.1384, allocations: 55.91 kB / 0.5263 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00084/0.1392, allocations: 0.7553 MB / 0.5271 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.1394, allocations: 40.05 kB / 0.5271 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.1395, allocations: 12 kB / 0.5271 GB, free: 11.76 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.000169/0.1396, allocations: 146 kB / 0.5272 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.1397, allocations: 27.8 kB / 0.5273 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.679e-05/0.1398, allocations: 38.7 kB / 0.5273 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.1398, allocations: 4 kB / 0.5273 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.1398, allocations: 3.938 kB / 0.5273 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1398, allocations: 0 / 0.5273 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00162/0.1414, allocations: 0.9198 MB / 0.5282 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1414, allocations: 0 / 0.5282 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.1416, allocations: 43.92 kB / 0.5283 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/0.1421, allocations: 216.7 kB / 0.5285 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.1421, allocations: 11.98 kB / 0.5285 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007003/0.1428, allocations: 0.7162 MB / 0.5292 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1428, allocations: 4.062 kB / 0.5292 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.1439, allocations: 0.6342 MB / 0.5298 GB, free: 8.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.144, allocations: 55.78 kB / 0.5299 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.1441, allocations: 16 kB / 0.5299 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.1443, allocations: 35.95 kB / 0.5299 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.1444, allocations: 51.89 kB / 0.53 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.1444, allocations: 8 kB / 0.53 GB, free: 8.719 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.1446, allocations: 152 kB / 0.5301 GB, free: 8.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1446, allocations: 4 kB / 0.5301 GB, free: 8.566 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003464/0.1449, allocations: 76.09 kB / 0.5302 GB, free: 8.492 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.001542/0.1465, allocations: 1.206 MB / 0.5314 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007027/0.1472, allocations: 291.8 kB / 0.5316 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1472, allocations: 0 / 0.5316 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.1475, allocations: 151.8 kB / 0.5318 GB, free: 6.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.1479, allocations: 35.86 kB / 0.5318 GB, free: 6.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005257/0.1532, allocations: 3.098 MB / 0.5348 GB, free: 3.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.1536, allocations: 0.7486 MB / 0.5356 GB, free: 2.789 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001753/0.1537, allocations: 34.2 kB / 0.5356 GB, free: 2.754 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.1539, allocations: 67.41 kB / 0.5357 GB, free: 2.691 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1539, allocations: 0 / 0.5357 GB, free: 2.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.224/0.3778, allocations: 7.907 MB / 0.5434 GB, free: 28.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.51, allocations: 12.23 kB / 0.5434 GB, free: 28.56 MB / 414.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 52.5] 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: 16.4772335649468]