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.001296/0.001296, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001473/0.001473, allocations: 217.3 kB / 22.99 MB, free: 4.977 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.45/1.45, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.2172/0.2172, allocations: 44.27 MB / 330.3 MB, free: 9.309 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="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.00233/0.00233, allocations: 75.89 kB / 467.5 MB, free: 4.355 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1213, allocations: 61.04 MB / 0.5161 GB, free: 7.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003569/0.1249, allocations: 2.155 MB / 0.5182 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1263, allocations: 0.7294 MB / 0.519 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1264, allocations: 4 kB / 0.519 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.1266, allocations: 43.58 kB / 0.519 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.1268, allocations: 75.39 kB / 0.5191 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.1272, allocations: 131.8 kB / 0.5192 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.1276, allocations: 335.2 kB / 0.5195 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1277, allocations: 61 kB / 0.5196 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.128, allocations: 147.6 kB / 0.5197 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.1282, allocations: 143.4 kB / 0.5199 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.621e-05/0.1282, allocations: 32 kB / 0.5199 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.1284, allocations: 75.89 kB / 0.52 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.427e-05/0.1285, allocations: 59.81 kB / 0.52 GB, free: 3.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.1286, allocations: 111.5 kB / 0.5201 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004512/0.1291, allocations: 342.7 kB / 0.5205 GB, free: 2.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.179e-05/0.1291, allocations: 4 kB / 0.5205 GB, free: 2.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1291, allocations: 0 / 0.5205 GB, free: 2.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1291, allocations: 0 / 0.5205 GB, free: 2.738 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.000954/0.1301, allocations: 0.4897 MB / 0.5209 GB, free: 2.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1301, allocations: 8.031 kB / 0.5209 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.382e-05/0.1302, allocations: 62.72 kB / 0.521 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.316e-05/0.1302, allocations: 24.8 kB / 0.521 GB, free: 2.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.1306, allocations: 182.1 kB / 0.5212 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.1307, allocations: 24.75 kB / 0.5212 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/0.1307, allocations: 24.33 kB / 0.5212 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.1312, allocations: 263.3 kB / 0.5215 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1313, allocations: 7.938 kB / 0.5215 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.1313, allocations: 15.98 kB / 0.5215 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.1313, allocations: 7.938 kB / 0.5215 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004995/0.1318, allocations: 233.6 kB / 0.5218 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.1333, allocations: 0.6381 MB / 0.5224 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005497/0.1338, allocations: 230.5 kB / 0.5226 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002562/0.1341, allocations: 128.7 kB / 0.5227 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.1341, allocations: 4 kB / 0.5227 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.1341, allocations: 34.56 kB / 0.5228 GB, free: 256 kB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.164e-06/0.1341, allocations: 0 / 0.5228 GB, free: 256 kB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.003139/0.1373, allocations: 1.232 MB / 0.524 GB, free: 14.96 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.1373, allocations: 59.39 kB / 0.524 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.1376, allocations: 198.5 kB / 0.5242 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.1376, allocations: 37.7 kB / 0.5242 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.1377, allocations: 136.8 kB / 0.5244 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.1378, allocations: 115 kB / 0.5245 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.1379, allocations: 69.64 kB / 0.5245 GB, free: 14.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1381, allocations: 338.8 kB / 0.5249 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.1384, allocations: 116 kB / 0.525 GB, free: 13.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.1387, allocations: 175.2 kB / 0.5251 GB, free: 13.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000448/0.1391, allocations: 247.2 kB / 0.5254 GB, free: 13.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1391, allocations: 0 / 0.5254 GB, free: 13.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008256/0.1399, allocations: 429.9 kB / 0.5258 GB, free: 13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.1399, allocations: 8 kB / 0.5258 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.14, allocations: 8 kB / 0.5258 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005326/0.1405, allocations: 232.7 kB / 0.526 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.1407, allocations: 55.91 kB / 0.5261 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008457/0.1416, allocations: 0.7592 MB / 0.5268 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.1418, allocations: 35.98 kB / 0.5269 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.1419, allocations: 12 kB / 0.5269 GB, free: 11.87 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.0001813/0.142, allocations: 147.7 kB / 0.527 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.1421, allocations: 23.8 kB / 0.527 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.45e-05/0.1422, allocations: 42.58 kB / 0.5271 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.1422, allocations: 7.984 kB / 0.5271 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1422, allocations: 0 / 0.5271 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1422, allocations: 0 / 0.5271 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.1439, allocations: 0.873 MB / 0.5279 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1439, allocations: 4 kB / 0.5279 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.1441, allocations: 44.03 kB / 0.528 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004204/0.1445, allocations: 224.6 kB / 0.5282 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.1445, allocations: 11.98 kB / 0.5282 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000747/0.1453, allocations: 0.7162 MB / 0.5289 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1453, allocations: 0 / 0.5289 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.1465, allocations: 0.6421 MB / 0.5295 GB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.1466, allocations: 47.84 kB / 0.5296 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.1467, allocations: 15.94 kB / 0.5296 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.1469, allocations: 35.95 kB / 0.5296 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.1471, allocations: 55.83 kB / 0.5297 GB, free: 8.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.1471, allocations: 11.98 kB / 0.5297 GB, free: 8.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001533/0.1472, allocations: 156 kB / 0.5298 GB, free: 8.707 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1472, allocations: 0 / 0.5298 GB, free: 8.707 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000386/0.1476, allocations: 79.94 kB / 0.5299 GB, free: 8.629 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.001657/0.1493, allocations: 1.19 MB / 0.5311 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007424/0.15, allocations: 295.9 kB / 0.5314 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.15, allocations: 0 / 0.5314 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003418/0.1504, allocations: 155.8 kB / 0.5315 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.0004068/0.1508, allocations: 35.97 kB / 0.5315 GB, free: 6.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005306/0.1561, allocations: 3.1 MB / 0.5346 GB, free: 3.711 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.1562, allocations: 142.9 kB / 0.5347 GB, free: 3.547 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.1563, allocations: 18.39 kB / 0.5347 GB, free: 3.531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.1565, allocations: 79.34 kB / 0.5348 GB, free: 3.457 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.1565, allocations: 0 / 0.5348 GB, free: 3.457 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2382/0.3946, allocations: 7.313 MB / 0.5419 GB, free: 29.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.42, allocations: 9.047 kB / 0.5419 GB, free: 29.25 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.375947658903897]