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.001465/0.001465, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001677/0.001677, allocations: 213.8 kB / 23.77 MB, free: 4.551 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.59/1.59, allocations: 207.7 MB / 234.6 MB, free: 9.793 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.2304/0.2304, allocations: 44.26 MB / 331.1 MB, free: 9.414 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: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_ForUsersGuide_SupportTorque1",fmuType="cs",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.002459/0.002459, allocations: 67.91 kB / 468.3 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1404, allocations: 61.04 MB / 0.5169 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004531/0.1449, allocations: 2.155 MB / 0.519 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1466, allocations: 0.7333 MB / 0.5197 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002038/0.1468, allocations: 11.94 kB / 0.5197 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.1471, allocations: 39.64 kB / 0.5198 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.1473, allocations: 71.41 kB / 0.5198 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006418/0.148, allocations: 135.7 kB / 0.52 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005124/0.1485, allocations: 331.3 kB / 0.5203 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.1487, allocations: 65 kB / 0.5203 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.149, allocations: 147.5 kB / 0.5205 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.1493, allocations: 163.4 kB / 0.5206 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.495e-05/0.1493, allocations: 28 kB / 0.5207 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.1495, allocations: 75.95 kB / 0.5207 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.1496, allocations: 71.73 kB / 0.5208 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.1498, allocations: 103.6 kB / 0.5209 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.1503, allocations: 346.7 kB / 0.5212 GB, free: 2.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1503, allocations: 0 / 0.5212 GB, free: 2.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1503, allocations: 0 / 0.5212 GB, free: 2.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.1504, allocations: 4 kB / 0.5212 GB, free: 2.746 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.001089/0.1514, allocations: 0.4897 MB / 0.5217 GB, free: 2.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.1515, allocations: 8.031 kB / 0.5217 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.46e-05/0.1515, allocations: 8.625 kB / 0.5217 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.077e-05/0.1516, allocations: 54.67 kB / 0.5218 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.851e-05/0.1517, allocations: 28.8 kB / 0.5218 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.1521, allocations: 190.1 kB / 0.522 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.1522, allocations: 12.81 kB / 0.522 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.1522, allocations: 32.33 kB / 0.522 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.1528, allocations: 267.1 kB / 0.5223 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.1528, allocations: 0 / 0.5223 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.1529, allocations: 12 kB / 0.5223 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.1529, allocations: 4 kB / 0.5223 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.1534, allocations: 233.6 kB / 0.5225 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.1549, allocations: 0.642 MB / 0.5232 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006157/0.1555, allocations: 230.4 kB / 0.5234 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.1558, allocations: 128.8 kB / 0.5235 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.1558, allocations: 4 kB / 0.5235 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1558, allocations: 34.56 kB / 0.5235 GB, free: 264 kB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.1558, allocations: 0 / 0.5235 GB, free: 264 kB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.003393/0.1592, allocations: 1.236 MB / 0.5247 GB, free: 14.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.1593, allocations: 59.34 kB / 0.5248 GB, free: 14.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.1595, allocations: 198.5 kB / 0.525 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/0.1596, allocations: 33.7 kB / 0.525 GB, free: 14.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1597, allocations: 132.8 kB / 0.5252 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.1599, allocations: 123 kB / 0.5253 GB, free: 14.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.16, allocations: 65.69 kB / 0.5253 GB, free: 14.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.1602, allocations: 334.8 kB / 0.5257 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.1604, allocations: 131.9 kB / 0.5258 GB, free: 13.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.1607, allocations: 167.2 kB / 0.5259 GB, free: 13.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004705/0.1612, allocations: 247.2 kB / 0.5262 GB, free: 13.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1612, allocations: 0 / 0.5262 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009116/0.1621, allocations: 426 kB / 0.5266 GB, free: 13.01 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.1622, allocations: 11.98 kB / 0.5266 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.1622, allocations: 7.875 kB / 0.5266 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/0.1628, allocations: 236.7 kB / 0.5268 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.163, allocations: 47.97 kB / 0.5269 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009394/0.164, allocations: 0.7553 MB / 0.5276 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.1643, allocations: 35.95 kB / 0.5276 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.1643, allocations: 16.06 kB / 0.5277 GB, free: 11.88 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.0002106/0.1645, allocations: 150 kB / 0.5278 GB, free: 11.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.172e-05/0.1646, allocations: 27.8 kB / 0.5278 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.1647, allocations: 30.66 kB / 0.5279 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1647, allocations: 4 kB / 0.5279 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1647, allocations: 0 / 0.5279 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.1647, allocations: 3.984 kB / 0.5279 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.1665, allocations: 0.8691 MB / 0.5287 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1665, allocations: 0 / 0.5287 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.1668, allocations: 51.91 kB / 0.5288 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005202/0.1673, allocations: 216.7 kB / 0.529 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.1673, allocations: 15.98 kB / 0.529 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007722/0.1681, allocations: 0.7084 MB / 0.5297 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1681, allocations: 7.922 kB / 0.5297 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.1694, allocations: 0.6499 MB / 0.5303 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.1696, allocations: 55.73 kB / 0.5304 GB, free: 8.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.1697, allocations: 11.98 kB / 0.5304 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.17, allocations: 27.97 kB / 0.5304 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.1701, allocations: 59.94 kB / 0.5305 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.1702, allocations: 12 kB / 0.5305 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1703, allocations: 152 kB / 0.5306 GB, free: 8.715 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1703, allocations: 0 / 0.5306 GB, free: 8.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004271/0.1707, allocations: 76 kB / 0.5307 GB, free: 8.641 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.001789/0.1725, allocations: 1.198 MB / 0.5319 GB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008322/0.1734, allocations: 303.8 kB / 0.5322 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1734, allocations: 96 / 0.5322 GB, free: 7.113 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.1737, allocations: 151.8 kB / 0.5323 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.1742, allocations: 27.98 kB / 0.5323 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006067/0.1803, allocations: 3.098 MB / 0.5354 GB, free: 3.719 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001755/0.1805, allocations: 146.8 kB / 0.5355 GB, free: 3.555 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.1806, allocations: 26.28 kB / 0.5355 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.1807, allocations: 71.42 kB / 0.5356 GB, free: 3.461 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1807, allocations: 0 / 0.5356 GB, free: 3.461 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2747/0.4554, allocations: 7.035 MB / 0.5425 GB, free: 29.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.36, allocations: 2.812 kB / 0.5425 GB, free: 29.64 MB / 414.1 MB " [Timeout remaining time 645] (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: 17.676373232970946]